mm/hmm: heterogeneous memory management (HMM for short)
authorJérôme Glisse <[email protected]>
Fri, 8 Sep 2017 23:11:23 +0000 (16:11 -0700)
committerLinus Torvalds <[email protected]>
Sat, 9 Sep 2017 01:26:45 +0000 (18:26 -0700)
commit133ff0eac95b7dc6edf89dc51bd139a0630bbae7
tree89e803ee7511b95e2633a57d49218f75d7fc8fb0
parentbffc33ec539699f045a9254144de3d4eace05f07
mm/hmm: heterogeneous memory management (HMM for short)

HMM provides 3 separate types of functionality:
    - Mirroring: synchronize CPU page table and device page table
    - Device memory: allocating struct page for device memory
    - Migration: migrating regular memory to device memory

This patch introduces some common helpers and definitions to all of
those 3 functionality.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jérôme Glisse <[email protected]>
Signed-off-by: Evgeny Baskakov <[email protected]>
Signed-off-by: John Hubbard <[email protected]>
Signed-off-by: Mark Hairgrove <[email protected]>
Signed-off-by: Sherry Cheung <[email protected]>
Signed-off-by: Subhash Gutti <[email protected]>
Cc: Aneesh Kumar <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: David Nellans <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Cc: Bob Liu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/hmm.h [new file with mode: 0644]
include/linux/mm_types.h
kernel/fork.c
mm/Kconfig
mm/Makefile
mm/hmm.c [new file with mode: 0644]