aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2018-07-13 21:49:50 -0700
committerDave Jiang <dave.jiang@intel.com>2018-07-20 11:21:15 -0700
commit73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc (patch)
tree85bd2833a059be2a911f632871666f2f10059c80 /mm/memory-failure.c
parentdevice-dax: Set page->index (diff)
downloadlinux-dev-73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc.tar.xz
linux-dev-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 '')
0 files changed, 0 insertions, 0 deletions