summaryrefslogtreecommitdiff
path: root/drivers/virt
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-12-12 17:38:42 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-12-12 17:38:42 (GMT)
commitf12d5bfceb7e1f9051563381ec047f7f13956c3c (patch)
tree5b4eba241978619d763e5ba6209e111299a22bd3 /drivers/virt
parent9538e10086bd1301fe915683b1ba0a1de66d7483 (diff)
downloadlinux-f12d5bfceb7e1f9051563381ec047f7f13956c3c.tar.xz
futex: fix handling of read-only-mapped hugepages
The hugepage code had the exact same bug that regular pages had in commit 7485d0d3758e ("futexes: Remove rw parameter from get_futex_key()"). The regular page case was fixed by commit 9ea71503a8ed ("futex: Fix regression with read only mappings"), but the transparent hugepage case (added in a5b338f2b0b1: "thp: update futex compound knowledge") case remained broken. Found by Dave Jones and his trinity tool. Reported-and-tested-by: Dave Jones <davej@fedoraproject.org> Cc: stable@kernel.org # v2.6.38+ Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Mel Gorman <mgorman@suse.de> Cc: Darren Hart <dvhart@linux.intel.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions