diff options
| author | Johannes Weiner <[email protected]> | 2011-08-03 16:21:09 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-08-03 14:25:21 -1000 |
| commit | 3dab1bce8e840606e76f1bad5a009328e2aa35c7 (patch) | |
| tree | ab2b3a8f159497ec22bb9c98445a214116e86b4e /include/linux/debugobjects.h | |
| parent | f7b9fcbbc3b8593ff7dc587f90c2fe90a2fd1e6f (diff) | |
mm: page_alloc: increase __GFP_BITS_SHIFT to include __GFP_OTHER_NODE
__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 <[email protected]>
Acked-by: Andi Kleen <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions