From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 25 Sep 2007 14:17:14 -0700 (PDT) From: David Rientjes Subject: Re: [patch -mm 4/5] mm: test and set zone reclaim lock before starting reclaim In-Reply-To: Message-ID: References: <46F88DFB.3020307@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Balbir Singh , Andrew Morton , Andrea Arcangeli , linux-mm@kvack.org List-ID: On Tue, 25 Sep 2007, Christoph Lameter wrote: > On Mon, 24 Sep 2007, David Rientjes wrote: > > > ZONE_RECLAIM_LOCKED will be cleared upon return from __zone_reclaim(). > > ZONE_RECLAIM_LOCKED means that one zone reclaim is already running and > other processes should not perform zone reclaim on the same zone. They > will instead fall back to allocate memory from zones that are not local. > Yes, and that's still true. But the point is that shrink_zone() can be called from different points (__zone_reclaim(), kswapd, try_to_free_pages(), balance_pgdat()) for a zone and it will not stop zone reclaim from being invoked on the same 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