aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2018-08-01 16:57:50 +0000
committerLinus Torvalds <[email protected]>2018-08-01 16:57:50 +0000
commitebad825cdd4e6b327eaf0dd72439408957049cea (patch)
tree1968af65b9f31924d271db19ade63809fed105ec /fs/btrfs/dev-replace.c
parentMerge tag 'audit-pr-20180731' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadkernel-ebad825cdd4e6b327eaf0dd72439408957049cea.tar.gz
kernel-ebad825cdd4e6b327eaf0dd72439408957049cea.zip
ia64: mark special ia64 memory areas anonymous
Commit bfd40eaff5ab ("mm: fix vma_is_anonymous() false-positives") made newly allocated vma's have a dummy vm_ops field so that they wouldn't be mistaken for anonymous mappings, and if you wanted an anonymous vma you had to explicitly say so by calling "vma_set_anonymous()" on it. However, it missed the two special vmas that ia64 processes have: the register backing store and the NaT page. So they wouldn't actually act like anonymous ranges, and page faults on them caused a SIGBUS rather than the creation of a new anon page in them. That obviously will make any ia64 binary very unhappy indeed, and the boot fails early. Fixes: bfd40eaff5ab ("mm: fix vma_is_anonymous() false-positives") Reported-by: Tony Luck <[email protected]> Cc: Kirill Shutemov <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: John Stultz <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions