]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] memory hotplug: call setup_per_zone_pages_min after hotplug
authorDave Hansen <haveblue@us.ibm.com>
Sun, 30 Oct 2005 01:16:56 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:44 +0000 (21:40 -0700)
commit61b13993a81866fc1d4830dfab80530c9c061e37
tree4d8f3acd428438b37e5b28246c666e0fdfba5335
parent0b0acbec1bed75ec1e1daa7f7006323a2a2b2844
[PATCH] memory hotplug: call setup_per_zone_pages_min after hotplug

From: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
> I found the tests does not work well with Dave's patchset.
> I've found the followings:
>
>  - setup_per_zone_pages_min() calls should be added in
>     capture_page_range() and online_pages()
>  - lru_add_drain() should be called before try_to_migrate_pages()

The following patch deals with the first item.

Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory_hotplug.c