summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-08-04 01:21:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-04 02:25:21 +0200
commit3dab1bce8e840606e76f1bad5a009328e2aa35c7 (patch)
treeab2b3a8f159497ec22bb9c98445a214116e86b4e /drivers/char/tpm
parentramoops: update module parameters (diff)
downloadlinux-3dab1bce8e840606e76f1bad5a009328e2aa35c7.tar.xz
linux-3dab1bce8e840606e76f1bad5a009328e2aa35c7.zip
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 <hannes@cmpxchg.org> Acked-by: Andi Kleen <ak@linux.intel.com> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: Mel Gorman <mgorman@suse.de> Reviewed-by: Michal Hocko <mhocko@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/tpm')
0 files changed, 0 insertions, 0 deletions