Re: [PATCH 4/6] mm/memcontrol: allow to uncharge page without using page->lru field

From: Balbir Singh
Date: Mon Jul 17 2017 - 05:11:56 EST


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@xxxxxxxxxx>
> Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
> Cc: Michal Hocko <mhocko@xxxxxxxxxx>
> Cc: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
> Cc: cgroups@xxxxxxxxxxxxxxx
> ---

Acked-by: Balbir Singh <bsingharora@xxxxxxxxx>