From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 12 Nov 2004 11:10:37 -0500 (EST) From: Rik van Riel Subject: Re: [PATCH] ignore referenced pages on reclaim when OOM In-Reply-To: <20041110142900.09552f7f.akpm@digeo.com> Message-ID: References: <16783.59834.7179.464876@thebsh.namesys.com> <20041108142837.307029fc.akpm@osdl.org> <20041110184134.GC12867@logos.cnet> <20041110142900.09552f7f.akpm@digeo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Marcelo Tosatti , nikita@clusterfs.com, linux-mm@kvack.org, piggin@cyberone.com.au List-ID: On Wed, 10 Nov 2004, Andrew Morton wrote: > Only in a single case: where a zone is all_unreclaimable and some pages > have recently become reclaimable but we don't know about it yet. > > Certainly it can happen, but it sounds really unlikely to me. The swap token logic can make it appear like this is the case, unless you ignore the referenced bit when you reach priority 0. -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- 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: aart@kvack.org