diff options
| author | 2006-09-29 02:01:25 -0700 | |
|---|---|---|
| committer | 2006-09-29 09:18:22 -0700 | |
| commit | 2d1d43f6a43b703587e759145f69467e7c6553a7 (patch) | |
| tree | 8ceb1c78a54c6f44f177779b2b7bdbbc9e03048a /include/linux/module.h | |
| parent | [PATCH] remove static variable mm/page-writeback.c:total_pages (diff) | |
| download | linux-dev-2d1d43f6a43b703587e759145f69467e7c6553a7.tar.xz linux-dev-2d1d43f6a43b703587e759145f69467e7c6553a7.zip | |
[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>
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions
