summaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorDan Williams2018-07-14 06:49:50 +0200
committerDave Jiang2018-07-20 20:21:15 +0200
commit73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc (patch)
tree85bd2833a059be2a911f632871666f2f10059c80 /mm/memory-failure.c
parentdevice-dax: Set page->index (diff)
downloadkernel-qcow2-linux-73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc.tar.gz
kernel-qcow2-linux-73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc.tar.xz
kernel-qcow2-linux-73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc.zip
filesystem-dax: Set page->index
In support of enabling memory_failure() handling for filesystem-dax mappings, set ->index to the pgoff of the page. The rmap implementation requires ->index to bound the search through the vma interval tree. The index is set and cleared at dax_associate_entry() and dax_disassociate_entry() time respectively. Cc: Christoph Hellwig <hch@lst.de> Cc: Matthew Wilcox <willy@infradead.org> Cc: Ross Zwisler <ross.zwisler@linux.intel.com> 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 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions