Re: [PATCH] Support for unconditional page sanitization

Arjan van de Ven
2009-05-23T21:05:30Z

On Sat, 23 May 2009 11:21:41 -0700
"Larry H." <research@subreption.com> 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