Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446678

Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in, alloc_migrate_target()

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in, alloc_migrate_target()
Date 2016-07-19 21:10 +0200
Message-ID <rWIz0-7UN-7@gated-at.bofh.it> (permalink)
References (2 earlier) <rWbMJ-3DS-1@gated-at.bofh.it> <rWbMJ-3DS-7@gated-at.bofh.it> <rWcfM-3Nz-15@gated-at.bofh.it> <rWx0S-BC-25@gated-at.bofh.it> <rWxtU-129-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 19 Jul 2016, Xishi Qiu wrote:

> Memory offline could happen on both movable zone and non-movable zone, and we
> can offline the whole node if the zone is movable_zone(the node only has one
> movable_zone), and if the zone is normal_zone, we cannot offline the whole node,
> because some kernel memory can't be migrated.
> 
> So how about change alloc_migrate_target() to alloc memory from the next node
> with GFP_HIGHUSER_MOVABLE, if the offline zone is movable_zone.
> 

I think sharing alloc_migrate_target as a migration callback may not be 
worth it; CMA and memory offline are distinct usecases and probably 
deserve their own callbacks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in, alloc_migrate_target() Xishi Qiu <qiuxishi@huawei.com> - 2016-07-15 04:50 +0200
  [PATCH 2/2] mem-hotplug: use different mempolicy in alloc_migrate_target() Xishi Qiu <qiuxishi@huawei.com> - 2016-07-15 05:00 +0200
    Re: [PATCH 2/2] mem-hotplug: use different mempolicy in  alloc_migrate_target() Vlastimil Babka <vbabka@suse.cz> - 2016-07-18 10:10 +0200
  Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in,  alloc_migrate_target() Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-07-18 07:50 +0200
    Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in,  alloc_migrate_target() Vlastimil Babka <vbabka@suse.cz> - 2016-07-18 09:50 +0200
    Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in, alloc_migrate_target() Xishi Qiu <qiuxishi@huawei.com> - 2016-07-18 10:10 +0200
      Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in,  alloc_migrate_target() Vlastimil Babka <vbabka@suse.cz> - 2016-07-18 10:10 +0200
        Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in, alloc_migrate_target() Xishi Qiu <qiuxishi@huawei.com> - 2016-07-18 10:40 +0200
          Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in,  alloc_migrate_target() Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-07-19 08:50 +0200
            Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in, alloc_migrate_target() Xishi Qiu <qiuxishi@huawei.com> - 2016-07-19 09:20 +0200
              Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in,  alloc_migrate_target() David Rientjes <rientjes@google.com> - 2016-07-19 21:10 +0200

csiph-web