]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] call mm/page-writeback.c:set_ratelimit() when new pages are hot-added
authorChandra Seetharaman <sekharan@us.ibm.com>
Fri, 29 Sep 2006 09:01:25 +0000 (02:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:22 +0000 (09:18 -0700)
commit2d1d43f6a43b703587e759145f69467e7c6553a7
tree8ceb1c78a54c6f44f177779b2b7bdbbc9e03048a
parent40c99aae23529f3d069ae08836ae46fadb3fd2bd
[PATCH] call mm/page-writeback.c:set_ratelimit() when new pages are hot-added

ratelimit_pages in page-writeback.c is recalculated (in set_ratelimit())
every time a CPU is hot-added/removed.  But this value is not recalculated
when new pages are hot-added.

This patch fixes that problem by calling set_ratelimit() when new pages
are hot-added.

[akpm@osdl.org: cleanups]
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/writeback.h
mm/memory_hotplug.c
mm/page-writeback.c