Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1448755
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] mem-hotplug: alloc new page from the next node if zone is MOVABLE_ZONE |
| Date | 2016-07-22 22:20 +0200 |
| Message-ID | <rXP5o-23Z-3@gated-at.bofh.it> (permalink) |
| References | <rXyQV-88M-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 22 Jul 2016 10:57:48 +0800 Xishi Qiu <qiuxishi@huawei.com> wrote: > Memory offline could happen on both movable zone and non-movable zone. > We can offline the whole node if the zone is movable zone, and if the > zone is non-movable zone, we cannot offline the whole node, because > some kernel memory can't be migrated. > > So if we offline a node with movable zone, use prefer mempolicy to alloc > new page from the next 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. This conflicts pretty significantly with your "mem-hotplug: use different mempolicy in alloc_migrate_target()". Does it replace "mem-hotplug: use different mempolicy in alloc_migrate_target()" and your "mem-hotplug: use GFP_HIGHUSER_MOVABLE in, alloc_migrate_target()", or what?
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] mem-hotplug: alloc new page from the next node if zone is MOVABLE_ZONE Xishi Qiu <qiuxishi@huawei.com> - 2016-07-22 05:00 +0200
Re: [PATCH v2] mem-hotplug: alloc new page from the next node if zone is MOVABLE_ZONE Andrew Morton <akpm@linux-foundation.org> - 2016-07-22 22:20 +0200
Re: [PATCH v2] mem-hotplug: alloc new page from the next node if zone is MOVABLE_ZONE Xishi Qiu <qiuxishi@huawei.com> - 2016-07-25 04:00 +0200
Re: [PATCH v2] mem-hotplug: alloc new page from the next node if zone is MOVABLE_ZONE Vlastimil Babka <vbabka@suse.cz> - 2016-07-25 09:00 +0200
Re: [PATCH v2] mem-hotplug: alloc new page from the next node if zone is MOVABLE_ZONE Vlastimil Babka <vbabka@suse.cz> - 2016-07-25 10:00 +0200
Re: [PATCH v2] mem-hotplug: alloc new page from the next node if zone is MOVABLE_ZONE Xishi Qiu <qiuxishi@huawei.com> - 2016-07-25 13:10 +0200
Re: [PATCH v2] mem-hotplug: alloc new page from the next node if zone is MOVABLE_ZONE Xishi Qiu <qiuxishi@huawei.com> - 2016-07-25 10:40 +0200
csiph-web