summaryrefslogtreecommitdiff
path: root/mm/userfaultfd.c
diff options
context:
space:
mode:
authorAndrea Arcangeli <aarcange@redhat.com>2015-09-04 22:47:20 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-04 23:54:41 (GMT)
commit230c92a8797e0e717c6732de0fffdd5726c0f48f (patch)
treed492aa522ed4c65c77401cd0c91fa759fadb219c /mm/userfaultfd.c
parentdfa37dc3fc1f6f81a6900d0e561c02362f4817f6 (diff)
downloadlinux-230c92a8797e0e717c6732de0fffdd5726c0f48f.tar.xz
userfaultfd: propagate the full address in THP faults
The THP faults were not propagating the original fault address. The latest version of the API with uffd.arg.pagefault.address is supposed to propagate the full address through THP faults. This was not a kernel crashing bug and it wouldn't risk to corrupt user memory, but it would cause a SIGBUS failure because the wrong page was being copied. For various reasons this wasn't easily reproducible in the qemu workload, but the strestest exposed the problem immediately. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Cc: Pavel Emelyanov <xemul@parallels.com> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions