summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorDan Williams2016-09-03 19:36:00 +0200
committerDan Williams2016-09-03 19:40:57 +0200
commit4c3cb6e9a9d94d1553807854a565cd27ff4c22aa (patch)
tree3080bceb1954d684c570fa96337098f433165f9b /mm/huge_memory.c
parentLinux 4.8-rc4 (diff)
downloadkernel-qcow2-linux-4c3cb6e9a9d94d1553807854a565cd27ff4c22aa.tar.gz
kernel-qcow2-linux-4c3cb6e9a9d94d1553807854a565cd27ff4c22aa.tar.xz
kernel-qcow2-linux-4c3cb6e9a9d94d1553807854a565cd27ff4c22aa.zip
dax: fix mapping size check
pgoff_to_phys() validates that both the starting address and the length of the mapping against the resource list. We need to check for a mapping size of PMD_SIZE not PAGE_SIZE in the pmd fault path. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions