summaryrefslogtreecommitdiffstats
path: root/mm/ksm.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2017-10-04 01:14:24 +0200
committerLinus Torvalds2017-10-04 02:54:23 +0200
commitfa87b91c94a8fd2c8502b6761be2d08a8e9bcf55 (patch)
tree0dc96017b32d126a005180d63c9e54dd75b2acad /mm/ksm.c
parentscripts/spelling.txt: add more spelling mistakes to spelling.txt (diff)
downloadkernel-qcow2-linux-fa87b91c94a8fd2c8502b6761be2d08a8e9bcf55.tar.gz
kernel-qcow2-linux-fa87b91c94a8fd2c8502b6761be2d08a8e9bcf55.tar.xz
kernel-qcow2-linux-fa87b91c94a8fd2c8502b6761be2d08a8e9bcf55.zip
include/linux/mm.h: fix typo in VM_MPX definition
There's a typo in recent change of VM_MPX definition. We want it to be VM_HIGH_ARCH_4, not VM_HIGH_ARCH_BIT_4. This bug does cause visible regressions. In arch_vma_name the vmflags are tested against VM_MPX. With the incorrect value of VM_MPX, a number of vmas (such as the stack) test positive and end up being marked as "[mpx]" in /proc/N/maps instead of their correct names. This confuses tools like rr which expect to be able to find familiar vmas. Fixes: df3735c5b40f ("x86,mpx: make mpx depend on x86-64 to free up VMA flag") Link: http://lkml.kernel.org/r/20170918140253.36856-1-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Reviewed-by: Rik van Riel <riel@redhat.com> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Kyle Huey <me@kylehuey.com> Cc: <stable@vger.kernel.org> [4.14+] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions