linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Michal Hocko <mhocko@kernel.org>
To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: akpm@linux-foundation.org, linux-mm@kvack.org, hannes@cmpxchg.org
Subject: Re: [PATCH] mm,page_alloc: Split stall warning and failure warning.
Date: Tue, 11 Apr 2017 13:54:28 +0200	[thread overview]
Message-ID: <20170411115428.GI6729@dhcp22.suse.cz> (raw)
In-Reply-To: <201704112043.EBD39096.JtFLQHVOFOFMOS@I-love.SAKURA.ne.jp>

On Tue 11-04-17 20:43:05, Tetsuo Handa wrote:
> Michal Hocko wrote:
> > On Mon 10-04-17 15:03:08, Andrew Morton wrote:
> > > On Mon, 10 Apr 2017 20:58:13 +0900 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> wrote:
> > > 
> > > > Patch "mm: page_alloc: __GFP_NOWARN shouldn't suppress stall warnings"
> > > > changed to drop __GFP_NOWARN when calling warn_alloc() for stall warning.
> > > > Although I suggested for two times to drop __GFP_NOWARN when warn_alloc()
> > > > for stall warning was proposed, Michal Hocko does not want to print stall
> > > > warnings when __GFP_NOWARN is given [1][2].
> > > > 
> > > >  "I am not going to allow defining a weird __GFP_NOWARN semantic which
> > > >   allows warnings but only sometimes. At least not without having a proper
> > > >   way to silence both failures _and_ stalls or just stalls. I do not
> > > >   really thing this is worth the additional gfp flag."
> > > 
> > > I interpret __GFP_NOWARN to mean "don't warn about this allocation
> > > attempt failing", not "don't warn about anything at all".  It's a very
> > > minor issue but yes, methinks that stall warning should still come out.
> > 
> > This is what the patch from Johannes already does and you have it in the
> > mmotm tree.
> > 
> > > Unless it's known to cause a problem for the stall warning to come out
> > > for __GFP_NOWARN attempts?  If so then perhaps a
> > > __GFP_NOWARN_ABOUT_STALLS is needed?
> > 
> > And this is one of the reason why I didn't like it. But whatever it
> > doesn't make much sense to spend too much time discussing this again.
> > This patch doesn't really fix anything important IMHO and it just
> > generates more churn.
> 
> This patch does not fix anything important for Michal Hocko, but
> this patch does find something important (e.g. GFP_NOFS | __GFP_NOWARN
> allocations)

I fail to see where it does that.

> for administrators and troubleshooting staffs at support
> centers. As a troubleshooting staff, giving administrators some clue to
> start troubleshooting is critically important.
> 
> Speak from my experience, hardcoded 10 seconds is really useless.
> Some cluster system has only 10 seconds timeout for failover. Failing
> to report allocations stalls longer than a few seconds can make this
> warn_alloc() pointless. On the other hand, some administrators do not
> want to receive this warn_alloc(). If we had tunable interface like
> /proc/sys/kernel/memalloc_task_warning_secs , we can handle both cases
> (assuming that stalling allocations can reach this warn_alloc() within
> a few seconds; if this assumption does not hold, only allocation watchdog
> can handle it).

This repeating of "hypotetical" demand of tunable is getting boring. I
would really appreciate to see at least _one_ such report from the
field. If you do not have any please stop wasting others people time by
unfounded claims.

-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2017-04-11 11:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 11:58 [PATCH] mm,page_alloc: Split stall warning and failure warning Tetsuo Handa
2017-04-10 12:39 ` Michal Hocko
2017-04-10 14:23   ` Tetsuo Handa
2017-04-10 22:03 ` Andrew Morton
2017-04-11  7:15   ` Michal Hocko
2017-04-11 11:43     ` Tetsuo Handa
2017-04-11 11:54       ` Michal Hocko [this message]
2017-04-11 13:26         ` Tetsuo Handa
2017-04-17 22:48   ` David Rientjes
2017-04-18 11:49     ` Tetsuo Handa
2017-04-18 12:14       ` Michal Hocko
2017-04-18 21:47       ` David Rientjes
2017-04-19 11:13         ` Michal Hocko
2017-04-19 13:22           ` Stanislaw Gruszka
2017-04-19 13:33             ` Michal Hocko
2017-04-22  8:10               ` Stanislaw Gruszka
2017-04-24  8:42                 ` Michal Hocko
2017-04-24 13:06                   ` Stanislaw Gruszka
2017-04-24 15:06                     ` Tetsuo Handa
2017-04-25  6:36                       ` Stanislaw Gruszka
2017-04-19 22:34             ` David Rientjes
2017-04-20 11:46         ` Tetsuo Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170411115428.GI6729@dhcp22.suse.cz \
    --to=mhocko@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-mm@kvack.org \
    --cc=penguin-kernel@I-love.SAKURA.ne.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).