aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2009-06-16 15:32:18 -0700
committerLinus Torvalds <[email protected]>2009-06-16 19:47:36 -0700
commit72807a74c0172376bba6b5b27702c9f702b526e9 (patch)
treed0f4a4a835754286ec9e2b940e950b2b68a4f61b /tools/perf/scripts/python/bin
parent092cead6175bb1b3d3078a34ba71c939d526c70b (diff)
page allocator: sanity check order in the page allocator slow path
Callers may speculatively call different allocators in order of preference trying to allocate a buffer of a given size. The order needed to allocate this may be larger than what the page allocator can normally handle. While the allocator mostly does the right thing, it should not direct reclaim or wakeup kswapd with a bogus order. This patch sanity checks the order in the slow path and returns NULL if it is too large. Signed-off-by: Mel Gorman <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions