From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 19 Sep 2007 13:54:56 -0700 (PDT) From: Christoph Lameter Subject: Re: [patch 3/8] oom: save zonelist pointer for oom killer calls In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: David Rientjes Cc: Andrew Morton , Andrea Arcangeli , Rik van Riel , linux-mm@kvack.org, pj@sgi.com List-ID: On Wed, 19 Sep 2007, David Rientjes wrote: > On Wed, 19 Sep 2007, Christoph Lameter wrote: > > > Still think that a simple flag in the zone would be much easier to realize > > and would avoid the kzalloc. > > > > That would require another member to be added to struct zone, probably a > spinlock_t that we would use as a spin_trylock() when in > try_set_zone_oom(). > Or we could, as you mentioned before, turn all_unreclaimable into an > unsigned long and use it to set various bits. That works pretty nicely. > > I'm wondering if this OOM killer serialization is going to end up as a > config option, though. Are there any reasons not to serialize the OOM killer per zone? -- 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