From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx182.postini.com [74.125.245.182]) by kanga.kvack.org (Postfix) with SMTP id B8CAB6B0031 for ; Fri, 26 Jul 2013 14:45:12 -0400 (EDT) Date: Fri, 26 Jul 2013 14:45:00 -0400 From: Johannes Weiner Subject: Re: [patch 3/6] arch: mm: pass userspace fault flag to generic fault handler Message-ID: <20130726184500.GQ715@cmpxchg.org> References: <1374791138-15665-1-git-send-email-hannes@cmpxchg.org> <1374791138-15665-4-git-send-email-hannes@cmpxchg.org> <20130726131947.GE17761@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130726131947.GE17761@dhcp22.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Andrew Morton , David Rientjes , KAMEZAWA Hiroyuki , azurIt , linux-mm@kvack.org, cgroups@vger.kernel.org, x86@kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org On Fri, Jul 26, 2013 at 03:19:47PM +0200, Michal Hocko wrote: > On Thu 25-07-13 18:25:35, Johannes Weiner wrote: > > Unlike global OOM handling, memory cgroup code will invoke the OOM > > killer in any OOM situation because it has no way of telling faults > > occuring in kernel context - which could be handled more gracefully - > > from user-triggered faults. > > > > Pass a flag that identifies faults originating in user space from the > > architecture-specific fault handlers to generic code so that memcg OOM > > handling can be improved. > > > > Signed-off-by: Johannes Weiner > > Looks good to me but I guess maintainers of the affected archs should be > CCed linux-arch is on CC, that should do the trick :) > Reviewed-by: Michal Hocko Thanks! -- 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: email@kvack.org