lkml.org 
[lkml]   [2015]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [RFC PATCH 12/12] mm: let slab/slub/slob use mirrored memory
    Date
    -	page = alloc_pages_exact_node(nodeid, flags | __GFP_NOTRACK, cachep->gfporder);
    + page = alloc_pages_exact_node(nodeid, flags | __GFP_NOTRACK | __GFP_MIRROR,
    + cachep->gfporder);

    Set some global "got_mirror"[*] if we have any mirrored memory to __GFP_MIRROR, else to 0.

    then

    page = alloc_pages_exact_node(nodeid, flags | __GFP_NOTRACK | got_mirror,
    cachep->gfporder);

    -Tony

    [*] Someone will suggest a better name. I'm bad at picking names.


    \
     
     \ /
      Last update: 2015-06-04 19:41    [W:4.117 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site