]> Git Repo - linux.git/commit
mem-hotplug: alloc new page from a nearest neighbor node when mem-offline
authorXishi Qiu <[email protected]>
Thu, 28 Jul 2016 22:48:53 +0000 (15:48 -0700)
committerLinus Torvalds <[email protected]>
Thu, 28 Jul 2016 23:07:41 +0000 (16:07 -0700)
commit394e31d2ceb4b9eae25bd9ed8ea8cb19a40ff181
treee9ef4c706dc0737989b9ef78e3503adeb3df9a98
parent3fa6c507319c897598512da91c010a4ad2ed682c
mem-hotplug: alloc new page from a nearest neighbor node when mem-offline

If we offline a node, alloc the new page from a nearest neighbor node
instead of the current node or other remote nodes, because re-migrate is
a waste of time and the distance of the remote nodes is often very
large.

Also use GFP_HIGHUSER_MOVABLE to alloc new page if the zone is movable
zone or highmem zone.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Xishi Qiu <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memory_hotplug.c
This page took 0.08268 seconds and 4 git commands to generate.