summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJérôme Glisse <jglisse@redhat.com>2017-06-09 19:01:23 -0400
committerJérôme Glisse <jglisse@redhat.com>2017-08-09 18:13:29 -0400
commitb8fd761ba942e6dde8edbcec9302fb74b4f1a618 (patch)
treec24b90ec950c820f9544f493088eb0bae7a13a12 /samples
parent86d512608be4bb112276ce5aa23260a733346ec7 (diff)
mm/memcontrol: support MEMORY_DEVICE_PRIVATE v4
HMM pages (private or public device pages) are ZONE_DEVICE page and thus need special handling when it comes to lru or refcount. This patch make sure that memcontrol properly handle those when it face them. Those pages are use like regular pages in a process address space either as anonymous page or as file back page. So from memcg point of view we want to handle them like regular page for now at least. Changed since v3: - remove public support and move those chunk to separate patch Changed since v2: - s/host/public Changed since v1: - s/public/host - add comments explaining how device memory behave and why Signed-off-by: Jérôme Glisse <jglisse@redhat.com> Acked-by: Balbir Singh <bsingharora@gmail.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