From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with ESMTP id 36B2F6B0055 for ; Sat, 23 May 2009 17:05:30 -0400 (EDT) Date: Sat, 23 May 2009 14:05:09 -0700 From: Arjan van de Ven Subject: Re: [PATCH] Support for unconditional page sanitization Message-ID: <20090523140509.5b4a59e4@infradead.org> In-Reply-To: <20090523182141.GK13971@oblivion.subreption.com> References: <20090520183045.GB10547@oblivion.subreption.com> <4A15A8C7.2030505@redhat.com> <20090522073436.GA3612@elte.hu> <20090522113809.GB13971@oblivion.subreption.com> <20090522143914.2019dd47@lxorguk.ukuu.org.uk> <20090522180351.GC13971@oblivion.subreption.com> <20090522192158.28fe412e@lxorguk.ukuu.org.uk> <20090522234031.GH13971@oblivion.subreption.com> <20090523090910.3d6c2e85@lxorguk.ukuu.org.uk> <20090523085653.0ad217f8@infradead.org> <20090523182141.GK13971@oblivion.subreption.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: "Larry H." Cc: Alan Cox , Ingo Molnar , Rik van Riel , linux-kernel@vger.kernel.org, Linus Torvalds , linux-mm@kvack.org, Ingo Molnar , pageexec@freemail.hu List-ID: On Sat, 23 May 2009 11:21:41 -0700 "Larry H." wrote: > +static inline void sanitize_highpage(struct page *page) any reason we're not reusing clear_highpage() for this? (I know it's currently slightly different, but that is fixable) also, have you checked that you stopped clearing the page in the normal anonymous memory pagefault handler path? If the page is guaranteed to be clear already you can save that copy (basically you move the clear from allocate to free..) -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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