From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 20 Sep 2007 10:56:07 -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: Tim Pepper , Andrew Morton , Andrea Arcangeli , Rik van Riel , linux-mm@kvack.org, pj@sgi.com List-ID: On Wed, 19 Sep 2007, David Rientjes wrote: > But yeah, it's cleaner if we change all_unreclaimable to an > unsigned int flags and convert all current testers of the > all_unreclaimable value to use it. Then we can simply set a bit, > ZONE_OOM, to identify such zones. If we do that then we can also get rid of the atomic_t reclaim_in_progress. It is only used by zone reclaim these days. > But I do agree that checking bits in an unsigned int flags member of > struct zone will be better, but I intend to still mimic the behavior of a > trylock for serialization. try_set_zone_oom() will simply be implemented > differently. Good. -- 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