[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150528125934.198f57db4c5daf19dd15b184@linux-foundation.org>
Date: Thu, 28 May 2015 12:59:34 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Vladimir Davydov <vdavydov@...allels.com>
Cc: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...e.cz>
Subject: Re: [PATCH] memcg: do not call reclaim if !__GFP_WAIT
On Thu, 28 May 2015 20:26:06 +0300 Vladimir Davydov <vdavydov@...allels.com> wrote:
> When trimming memcg consumption excess (see memory.high), we call
> try_to_free_mem_cgroup_pages without checking if we are allowed to sleep
> in the current context, which can result in a deadlock. Fix this.
Why does it deadlock? try_to_free_mem_cgroup_pages() is passed the
gfp_mask and should honour its __GFP_WAIT setting?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists