Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1731650

Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Shakeel Butt <shakeelb@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls
Date Wed, 13 Sep 2017 17:00:02 +0200
Message-ID <uphiW-e2-11@gated-at.bofh.it> (permalink)
References <uoqRk-7DR-21@gated-at.bofh.it> <uosgp-nx-5@gated-at.bofh.it> <uoGt4-1Fz-11@gated-at.bofh.it> <uoNEe-6FT-9@gated-at.bofh.it>
X-Original-To Vlastimil Babka <vbabka@suse.cz>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zZ7o2sA4dYZC2ciRolrE5bDLTihXb9xwkAAeDouzBVw=; b=FX94JhBAjfTZ4A/f9zMT27Hyrry+N4vfsOXWErMu8TmEXzh8dmqlevfwgE3Oy50uXq VbTX9Bn/6qzS/9Yk3GY8WkkUHrPVY2BDfmXe/7zh0hHrIDsBwxNlA+ZoGEV0MIvDcWjF WB43/rlqNZz4OavsYNNYeQhJL4RC0rCJFY3IFc5rPAm5ubXlEfvGCqJszlyPtrJKEH2Y hDkIhcczY4xMbQhgxzgIuG1stdTDeyJad06WAYKy0+ygWlCC+X91wyGSOrM+CAX2SJLO sEBUXfzhgI0eCa5x9G9XV2S235rmrQcUCtXHq7DOobuwDGmkvKnzz3eWulIkLRLmhWwH GUyg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zZ7o2sA4dYZC2ciRolrE5bDLTihXb9xwkAAeDouzBVw=; b=ZLmDwZk7LCwf4T6GX8+mF9wqandfMnEYBwTVjLFwxYVAQnBGmUnPFF1wDma7Oz4wCr x2N40qhbXPgyMldllw8xFtuQGAMCNMqU6WI9+RKPLIn6Y6Jc2Nz0cny35nODp3nB7In+ Po6mXUH7rgOc52LMmqdbjNsiiM6fWQYQdQwdyXK8jCaZcY0zM9hUBfImv29GnZdvGgPj vdMQQSGuBBfSXYPkHsE/q9IsMO++KVMTSuV4nH7n7krejAMEExq3pFsg7bN2kcG9SbSF x9yhm/6Mfxe0cfW6U0uxKvH4RInuL1KxPwf/ws3MsDvj+jmv4FV4bEKgrafCBxGH7hN9 2mSA==
X-Gm-Message-State AHPjjUgrHimKoDTy26DGMtqZ+ThvBHFVGANw/yMUiTNqHFPimbepSFv6 Z9adGqXLdDTQpcLSaRExXnNcgJrbnKIX+6HQRa9vgg==
X-Google-SMTP-Source AOwi7QDdkQky7IpSB8c/hFxxjUXOHxsJdbZX2FCQJQg7bxbHNZ1jrQuCnzyswwMAoqOOLV+sxNxNE+oc8I67aP0elps=
X-Received by 10.202.88.86 with SMTP id m83mr6350494oib.75.1505314323304; Wed, 13 Sep 2017 07:52:03 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 13
Organization linux.* mail to news gateway
X-Original-Cc Mikulas Patocka <mpatocka@redhat.com>, Michal Hocko <mhocko@kernel.org>, Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>, Johannes Weiner <hannes@cmpxchg.org>, Mel Gorman <mgorman@suse.de>, Dave Hansen <dave.hansen@intel.com>, Andrew Morton <akpm@linux-foundation.org>, Linux MM <linux-mm@kvack.org>, LKML <linux-kernel@vger.kernel.org>
X-Original-Date Wed, 13 Sep 2017 07:52:02 -0700
X-Original-Message-ID <CALvZod7J+0iVkto_JkTqWFo0wfVfHdEXps+Pt7pGAxDCMDkDwQ@mail.gmail.com>
X-Original-References <alpine.LRH.2.02.1709110231010.3666@file01.intranet.prod.int.rdu2.redhat.com> <20170911082650.dqfirwc63xy7i33q@dhcp22.suse.cz> <alpine.LRH.2.02.1709111926480.31898@file01.intranet.prod.int.rdu2.redhat.com> <d677d23a-9b1d-e3fd-9ff2-bac8cccfb200@suse.cz>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1731650

Show key headers only | View raw


>
> We would have to consider (instead of jiffies) the time the process was
> either running, or waiting on something that's related to memory
> allocation/reclaim (page lock etc.). I.e. deduct the time the process
> was runable but there was no available cpu. I expect however that such
> level of detail wouldn't be feasible here, though?
>

Johannes' memdelay work (once merged) might be useful here. I think
memdalay can differentiate between an allocating process getting
delayed due to preemption or due to unsuccessful reclaim/compaction.
If the delay is due to unsuccessful reclaim/compaction then we should
warn here.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Mikulas Patocka <mpatocka@redhat.com> - 2017-09-11 09:00 +0200
  Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Michal Hocko <mhocko@kernel.org> - 2017-09-11 10:30 +0200
    Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Mikulas Patocka <mpatocka@redhat.com> - 2017-09-12 01:40 +0200
      Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Vlastimil Babka <vbabka@suse.cz> - 2017-09-12 09:20 +0200
        Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls Shakeel Butt <shakeelb@google.com> - 2017-09-13 17:00 +0200
      Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Michal Hocko <mhocko@kernel.org> - 2017-09-13 14:00 +0200
        Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-09-13 16:00 +0200
          Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Vlastimil Babka <vbabka@suse.cz> - 2017-09-13 16:10 +0200
            Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about stalls Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2017-09-13 16:20 +0200
              Re: [PATCH] mm: respect the __GFP_NOWARN flag when warning about  stalls Michal Hocko <mhocko@kernel.org> - 2017-09-13 16:40 +0200

csiph-web