Re: [patch 0/5] Support for sanitization flag in low-level page allocator

Larry H.
2009-05-30T07:37:13Z

On 10:12 Sat 30 May , Pekka Enberg wrote:
> Hi Andrew,
>
> On Sat, May 30, 2009 at 1:58 AM, Andrew Morton
> <akpm@linux-foundation.org> wrote:
> > ?But how to do that? ?Particular callsites don't get to alter
> > ?kfree()'s behaviour. ?So they'd need to use a new kfree_sensitive().
> > ?Which is just syntactic sugar around the code whihc we presently
> > ?implement.
>
> Unless I am missing something here, we already have kfree_sensitive(),
> we just call it kzfree().

You should test that. The results might be surprising, though.

Larry