summaryrefslogtreecommitdiffstats
path: root/net/caif/cfvidl.c
diff options
context:
space:
mode:
authorXishi Qiu <qiuxishi@huawei.com>2016-07-29 00:48:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-29 01:07:41 +0200
commit394e31d2ceb4b9eae25bd9ed8ea8cb19a40ff181 (patch)
treee9ef4c706dc0737989b9ef78e3503adeb3df9a98 /net/caif/cfvidl.c
parentmm: optimize copy_page_to/from_iter_iovec (diff)
downloadlinux-394e31d2ceb4b9eae25bd9ed8ea8cb19a40ff181.tar.xz
linux-394e31d2ceb4b9eae25bd9ed8ea8cb19a40ff181.zip
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/5795E18B.5060302@huawei.com Signed-off-by: Xishi Qiu <qiuxishi@huawei.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/caif/cfvidl.c')
0 files changed, 0 insertions, 0 deletions