linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Weiner <hannes@cmpxchg.org>
To: Hugh Dickins <hughd@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org
Subject: Re: [PATCH mmotm] memcg: avoid vmpressure oops when memcg disabled
Date: Sun, 10 Jan 2016 12:38:48 -0500	[thread overview]
Message-ID: <20160110173848.GA20871@cmpxchg.org> (raw)
In-Reply-To: <alpine.LSU.2.11.1601091717160.10107@eggly.anvils>

On Sat, Jan 09, 2016 at 05:21:44PM -0800, Hugh Dickins wrote:
> A CONFIG_MEMCG=y kernel booted with "cgroup_disable=memory" crashes on
> a NULL memcg (but non-NULL root_mem_cgroup) when vmpressure kicks in.
> Here's the patch I use to avoid that, but you might prefer a test on
> mem_cgroup_disabled() somewhere.
> 
> Signed-off-by: Hugh Dickins <hughd@google.com>

Thanks Hugh. This looks good.

Acked-by: Johannes Weiner <hannes@cmpxchg.org>

--
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:[~2016-01-10 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-10  1:21 [PATCH mmotm] memcg: avoid vmpressure oops when memcg disabled Hugh Dickins
2016-01-10 17:38 ` Johannes Weiner [this message]

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=20160110173848.GA20871@cmpxchg.org \
    --to=hannes@cmpxchg.org \
    --cc=akpm@linux-foundation.org \
    --cc=hughd@google.com \
    --cc=linux-mm@kvack.org \
    /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).