summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJérôme Glisse <jglisse@redhat.com>2017-06-09 18:15:17 -0400
committerJérôme Glisse <jglisse@redhat.com>2017-08-09 18:13:29 -0400
commit86d512608be4bb112276ce5aa23260a733346ec7 (patch)
tree0e4a990414af7f12466e76c9e9ba64b7beeccbdb /samples
parent9f6630889937ec369db3334410371bfedf39e143 (diff)
mm/memcontrol: allow to uncharge page without using page->lru field
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
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions