RE: [RFC PATCH 12/12] mm: let slab/slub/slob use mirrored memory
From: Luck, Tony
Date: Thu Jun 04 2015 - 13:15:15 EST
- 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/