Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1445220
| From | Joonsoo Kim <iamjoonsoo.kim@lge.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] mem-hotplug: use GFP_HIGHUSER_MOVABLE in, alloc_migrate_target() |
| Date | 2016-07-18 07:50 +0200 |
| Message-ID | <rW9Bf-291-3@gated-at.bofh.it> (permalink) |
| References | <rV1mp-1b8-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jul 15, 2016 at 10:47:06AM +0800, Xishi Qiu wrote: > alloc_migrate_target() is called from migrate_pages(), and the page > is always from user space, so we can add __GFP_HIGHMEM directly. No, all migratable pages are not from user space. For example, blockdev file cache has __GFP_MOVABLE and migratable but it has no __GFP_HIGHMEM and __GFP_USER. And, zram's memory isn't GFP_HIGHUSER_MOVABLE but has __GFP_MOVABLE. Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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