[lkml]   [2011]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 1/5] mm: page_alloc: increase __GFP_BITS_SHIFT to include __GFP_OTHER_NODE
On 07/25/2011 04:19 PM, Johannes Weiner wrote:
> From: Johannes Weiner<>
> __GFP_OTHER_NODE is used for NUMA allocations on behalf of other
> nodes. It's supposed to be passed through from the page allocator to
> zone_statistics(), but it never gets there as gfp_allowed_mask is not
> wide enough and masks out the flag early in the allocation path.
> The result is an accounting glitch where successful NUMA allocations
> by-agent are not properly attributed as local.
> Increase __GFP_BITS_SHIFT so that it includes __GFP_OTHER_NODE.
> Signed-off-by: Johannes Weiner<>

Acked-by: Rik van Riel <>

All rights reversed

 \ /
  Last update: 2011-08-05 16:19    [W:0.182 / U:3.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site