aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYigal Korman <[email protected]>2015-11-16 12:09:15 +0000
committerDan Williams <[email protected]>2015-11-19 00:54:36 +0000
commit0df9d41ab5d43dc5b20abc8b22a6b6d098b03994 (patch)
tree3c0c6a9a65867eeca00eab356dde7c1fbfcd2556 /net/unix/af_unix.c
parentdax: disable pmd mappings (diff)
downloadkernel-0df9d41ab5d43dc5b20abc8b22a6b6d098b03994.tar.gz
kernel-0df9d41ab5d43dc5b20abc8b22a6b6d098b03994.zip
mm, dax: fix DAX deadlocks (COW fault)
DAX handling of COW faults has wrong locking sequence: dax_fault does i_mmap_lock_read do_cow_fault does i_mmap_unlock_write Ross's commit[1] missed a fix[2] that Kirill added to Matthew's commit[3]. Original COW locking logic was introduced by Matthew here[4]. This should be applied to v4.3 as well. [1] 0f90cc6609c7 mm, dax: fix DAX deadlocks [2] 52a2b53ffde6 mm, dax: use i_mmap_unlock_write() in do_cow_fault() [3] 843172978bb9 dax: fix race between simultaneous faults [4] 2e4cdab0584f mm: allow page fault handlers to perform the COW Cc: <[email protected]> Cc: Boaz Harrosh <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Dave Chinner <[email protected]> Cc: Jan Kara <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Cc: Matthew Wilcox <[email protected]> Acked-by: Ross Zwisler <[email protected]> Signed-off-by: Yigal Korman <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions