[lkml]   [2012]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] mm: hugetlb: flush dcache before returning zeroed huge page to userspace
    On Thu 16-08-12 17:09:54, Will Deacon wrote:
    > 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?:

    Do you have any specific reason for that? enqueue_huge_page is called on
    pages which potentially never get used so isn't that wasting a bit?
    Not that it would be wrong I was just thinking why shouldn't we do it
    when the page is actualy going to be used for sure.
    Michal Hocko
    SUSE Labs

     \ /
      Last update: 2012-08-16 20:01    [W:0.021 / U:3.156 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site