diff options
author | Dan Williams <[email protected]> | 2018-07-13 21:49:40 -0700 |
---|---|---|
committer | Dave Jiang <[email protected]> | 2018-07-20 11:20:13 -0700 |
commit | 2232c6382a453db73d2e723df1b52030066e135e (patch) | |
tree | 2bf5466b3248ef03ff47099e8247753ff2029368 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 226ab561075f6f8f3cd5f7b3b7544f3997aab51f (diff) |
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 <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions