aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorToshi Kani <[email protected]>2016-01-16 00:56:05 +0000
committerLinus Torvalds <[email protected]>2016-01-16 01:56:32 +0000
commit59bf4fb9d386601cbaa70a9b00159abb846dedaa (patch)
tree0735bb6400f6ed0a3c3be69e1e10018a17fe6a63 /drivers/gpu/drm/omapdrm/omap_gem.c
parentmm, dax: fix livelock, allow dax pmd mappings to become writeable (diff)
downloadkernel-59bf4fb9d386601cbaa70a9b00159abb846dedaa.tar.gz
kernel-59bf4fb9d386601cbaa70a9b00159abb846dedaa.zip
dax: Split pmd map when fallback on COW
An infinite loop of PMD faults was observed when attempted to mlock() a private read-only PMD mmap'd range of a DAX file. __dax_pmd_fault() simply returns with VM_FAULT_FALLBACK when falling back to PTE on COW. However, __handle_mm_fault() returns without falling back to handle_pte_fault() because a PMD map is present in this case. Change __dax_pmd_fault() to split the PMD map, if present, before returning with VM_FAULT_FALLBACK. Signed-off-by: Toshi Kani <[email protected]> Signed-off-by: Dan Williams <[email protected]> Cc: Kirill A. Shutemov <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Ross Zwisler <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions