From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from burns.conectiva (burns.conectiva [10.0.0.4]) by perninha.conectiva.com.br (Postfix) with SMTP id 31D0D38C85 for ; Mon, 20 Aug 2001 18:35:06 -0300 (EST) Date: Mon, 20 Aug 2001 18:34:51 -0300 (BRST) From: Rik van Riel Subject: Re: [PATCH] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Marcelo Tosatti Cc: Alan Cox , linux-mm@kvack.org List-ID: On Mon, 20 Aug 2001, Marcelo Tosatti wrote: > Think about a thread blocked on ->writepage() called from > page_launder(), which has gotten an additional reference on the > page. > > Any other thread looping on page_launder() will move the given > page being written to the active list, even if we should just > drop the page as soon as its writeout is finished. You're right, we need to add one more check, for PageLocked(page). If the page is locked, we should not reactivate it... regards, Rik -- IA64: a worthy successor to the i860. http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/ -- 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/