diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2010-01-15 17:01:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-16 16:53:55 -0800 |
commit | 6ccf80eb15ccaca4d3f1ab5162b9ded5eecd9971 (patch) | |
tree | 23dad05636e88a743755bfd3e7a5dad4ef5e49e0 /arch/x86/kernel/tsc.c | |
parent | 1f0b8b95543118f97197a978560438c1ce88cd00 (diff) | |
download | op-kernel-dev-6ccf80eb15ccaca4d3f1ab5162b9ded5eecd9971.zip op-kernel-dev-6ccf80eb15ccaca4d3f1ab5162b9ded5eecd9971.tar.gz |
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 <kosaki.motohiro@jp.fujitsu.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Reported-by: Huang Shijie <shijie8@gmail.com>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel/tsc.c')
0 files changed, 0 insertions, 0 deletions