Re: [PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node when mem-offline

2016-07-25 Thread Xishi Qiu
On 2016/7/26 4:51, Andrew Morton wrote: > On Mon, 25 Jul 2016 17:53:15 +0800 Xishi Qiu <qiuxi...@huawei.com> wrote: > >> Subject: [PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node >> when mem-offline > > argh. > > This is "v3&quo

Re: [PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node when mem-offline

2016-07-25 Thread Xishi Qiu
On 2016/7/26 4:51, Andrew Morton wrote: > On Mon, 25 Jul 2016 17:53:15 +0800 Xishi Qiu wrote: > >> Subject: [PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node >> when mem-offline > > argh. > > This is "v3" but there is no v1 an

Re: [PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node when mem-offline

2016-07-25 Thread Andrew Morton
On Mon, 25 Jul 2016 17:53:15 +0800 Xishi Qiu <qiuxi...@huawei.com> wrote: > Subject: [PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node > when mem-offline argh. This is "v3" but there is no v1 and no v2. Please don't change the name of patches in this

Re: [PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node when mem-offline

2016-07-25 Thread Andrew Morton
On Mon, 25 Jul 2016 17:53:15 +0800 Xishi Qiu wrote: > Subject: [PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node > when mem-offline argh. This is "v3" but there is no v1 and no v2. Please don't change the name of patches in this manner. Or if you do, pleas

[PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node when mem-offline

2016-07-25 Thread Xishi Qiu
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

[PATCH v3] mem-hotplug: alloc new page from a nearest neighbor node when mem-offline

2016-07-25 Thread Xishi Qiu
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