]> 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)
commit7e25b330b52fefea7e07fe9ae9af4735f3737aa4
treeeb71914a38a71928cb6b528985eabafab3def51b
parent0456dab2791ce5935b8900a7c6153c3c2b7ecb10
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