commit | 6ccf80eb15ccaca4d3f1ab5162b9ded5eecd9971 | [log] [tgz] |
---|---|---|
author | KOSAKI Motohiro <[email protected]> | Fri Jan 15 17:01:18 2010 -0800 |
committer | Linus Torvalds <[email protected]> | Sat Jan 16 16:53:55 2010 -0800 |
tree | 23dad05636e88a743755bfd3e7a5dad4ef5e49e0 | |
parent | 1f0b8b95543118f97197a978560438c1ce88cd00 [diff] |
page allocator: update NR_FREE_PAGES only when necessary commit f2260e6b (page allocator: update NR_FREE_PAGES only as necessary) made one minor regression. if __rmqueue() was failed, NR_FREE_PAGES stat go wrong. this patch fixes it. Signed-off-by: KOSAKI Motohiro <[email protected]> Cc: Mel Gorman <[email protected]> Reviewed-by: Minchan Kim <[email protected]> Reported-by: Huang Shijie <[email protected]> Reviewed-by: Christoph Lameter <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>