diff options
| author | Michal Hocko <[email protected]> | 2012-01-10 15:08:02 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-01-10 16:30:44 -0800 |
| commit | df0a6daa01fa3856c08f4274d4f21a8092caa480 (patch) | |
| tree | 089c112e98c87c4326443c21711bf9410c1989ce /tools/perf/scripts/python | |
| parent | 9571a982903bf9dcbca2479fd3e7dafd2211ecf9 (diff) | |
mm: fix off-by-two in __zone_watermark_ok()
Commit 88f5acf88ae6 ("mm: page allocator: adjust the per-cpu counter
threshold when memory is low") changed the form how free_pages is
calculated but it forgot that we used to do free_pages - ((1 << order) -
1) so we ended up with off-by-two when calculating free_pages.
Reported-by: Wang Sheng-Hui <[email protected]>
Signed-off-by: Michal Hocko <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions