summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2018-07-14 07:49:40 +0300
committerDave Jiang <dave.jiang@intel.com>2018-07-20 21:20:13 +0300
commit2232c6382a453db73d2e723df1b52030066e135e (patch)
tree2bf5466b3248ef03ff47099e8247753ff2029368 /tools/perf/scripts/python/export-to-sqlite.py
parent226ab561075f6f8f3cd5f7b3b7544f3997aab51f (diff)
downloadlinux-2232c6382a453db73d2e723df1b52030066e135e.tar.xz
device-dax: Enable page_mapping()
In support of enabling memory_failure() handling for device-dax mappings, set the ->mapping association of pages backing device-dax mappings. The rmap implementation requires page_mapping() to return the address_space hosting the vmas that map the page. The ->mapping pointer is never cleared. There is no possibility for the page to become associated with another address_space while the device is enabled. When the device is disabled the 'struct page' array for the device is destroyed / later reinitialized to zero. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions