From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 22 May 2003 10:35:08 -0400 (EDT) From: Rik van Riel Subject: Re: [PATCH] dirty bit clearing on s390. In-Reply-To: <1053603729.2360.0.camel@laptop.fenrus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Arjan van de Ven Cc: Martin Schwidefsky , linux-mm@kvack.org, akpm@digeo.com, phillips@arcor.de List-ID: On 22 May 2003, Arjan van de Ven wrote: > On Thu, 2003-05-22 at 13:20, Martin Schwidefsky wrote: > > > Our solution is to move the clearing of the storage key (dirty bit) > > from set_pte to SetPageUptodate. A patch that implements this is > > attached. What do you think ? > > Is there anything that prevents a thread mmaping the page to redirty it > before the kernel marks it uptodate ? Nobody will mmap a page before PG_uptodate has been set. -- 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