From: Matthew Wilcox <mawil...@microsoft.com> I've just learned about the page_frag_cache allocator, and now I want to use it everywhere ;-)
But before I start using it in other places, I want to see if it can be improved at all. The pfmemalloc flag is pretty specific to how the network stack uses it (with GFP_ATOMIC), and the pagecnt_bias is tricky to understand. I think we can do better by just using the fields in struct page directly. I don't have a suitable setup for performance testing this code ... Alex, is there any chance you'd have time to give this a spin? Matthew Wilcox (2): mm: Use page->mapping to indicate pfmemalloc page_frag_cache: Store metadata in struct page include/linux/mm.h | 16 ++---- include/linux/mm_types.h | 17 +----- mm/page_alloc.c | 143 ++++++++++++++++++++++++----------------------- net/core/skbuff.c | 4 +- 4 files changed, 82 insertions(+), 98 deletions(-) -- 2.16.2