diff options
author | Dan Williams <[email protected]> | 2018-07-13 21:50:01 -0700 |
---|---|---|
committer | Dave Jiang <[email protected]> | 2018-07-23 10:37:39 -0700 |
commit | 2fa147bdbf672c53386a8f5f2c7fe358004c3ef8 (patch) | |
tree | 7cf0718fabe780c0faf9337a6f8262826cb1dc37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 86a66810baa87e5d1c93a51f71d36c7f71fe3113 (diff) |
mm, dev_pagemap: Do not clear ->mapping on final put
MEMORY_DEVICE_FS_DAX relies on typical page semantics whereby ->mapping
is only ever cleared by truncation, not final put.
Without this fix dax pages may forget their mapping association at the
end of every page pin event.
Move this atypical behavior that HMM wants into the HMM ->page_free()
callback.
Cc: <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Jérôme Glisse <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ross Zwisler <[email protected]>
Fixes: d2c997c0f145 ("fs, dax: use page->mapping...")
Signed-off-by: Dan Williams <[email protected]>
Acked-by: Jérôme Glisse <[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