Messages in this thread | | | Subject | Re: [PATCH 4/6] mm/memcontrol: allow to uncharge page without using page->lru field | From | Balbir Singh <> | Date | Mon, 17 Jul 2017 19:10:55 +1000 |
| |
On Thu, 2017-07-13 at 17:15 -0400, Jérôme Glisse wrote: > HMM pages (private or public device pages) are ZONE_DEVICE page and > thus you can not use page->lru fields of those pages. This patch > re-arrange the uncharge to allow single page to be uncharge without > modifying the lru field of the struct page. > > There is no change to memcontrol logic, it is the same as it was > before this patch. > > Signed-off-by: Jérôme Glisse <jglisse@redhat.com> > Cc: Johannes Weiner <hannes@cmpxchg.org> > Cc: Michal Hocko <mhocko@kernel.org> > Cc: Vladimir Davydov <vdavydov.dev@gmail.com> > Cc: cgroups@vger.kernel.org > ---
Acked-by: Balbir Singh <bsingharora@gmail.com>
| |