]> git.baikalelectronics.ru Git - kernel.git/commit
mm: modify pgdat_balanced() so that it also handles order-0
authorZlatko Calusic <zlatko.calusic@iskon.hr>
Sun, 23 Dec 2012 14:12:54 +0000 (15:12 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 23 Dec 2012 17:46:36 +0000 (09:46 -0800)
commit0e9ec53f9c6ba9de1c446e943d8258e989bb8dc6
treeeb71914a38a71928cb6b528985eabafab3def51b
parent9436399c08b3e3d8f813a64b6464e8148feaac81
mm: modify pgdat_balanced() so that it also handles order-0

Teach pgdat_balanced() about order-0 allocations so that we can simplify
code in a few places in vmstat.c.

Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Zlatko Calusic <zlatko.calusic@iskon.hr>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c