Re: [PATCH] mm: hugetlb: flush dcache before returning zeroed hugepage to userspace

From: Will Deacon
Date: Thu Aug 16 2012 - 12:10:14 EST


On Wed, Aug 08, 2012 at 05:26:07PM +0100, Michal Hocko wrote:
> I guess the cleanest way is to hook into dequeue_huge_page_node and add
> something like arch_clear_hugepage_flags.

I hooked into enqueue_huge_page instead, but how about something like this?:

Will

--- >8