Re: [PATCH] Support for unconditional page sanitization

From: Arjan van de Ven
Date: Sat May 23 2009 - 17:05:37 EST


On Sat, 23 May 2009 11:21:41 -0700
"Larry H." <research@xxxxxxxxxxxxxx> 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/