Re: [PATCH 01/16] slab: correct pfmemalloc check

2013-09-11 Thread Joonsoo Kim
On Wed, Sep 11, 2013 at 02:30:03PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > And, therefore we should check pfmemalloc in page flag of first page, > > but current implementation don't do that. virt_to_head_page(obj) just > > return 'struct page' of that object

Re: [PATCH 01/16] slab: correct pfmemalloc check

2013-09-11 Thread Christoph Lameter
On Thu, 22 Aug 2013, Joonsoo Kim wrote: > And, therefore we should check pfmemalloc in page flag of first page, > but current implementation don't do that. virt_to_head_page(obj) just > return 'struct page' of that object, not one of first page, since the SLAB > don't use __GFP_COMP when CONFIG_MM