linux-stable/arch
Anshuman Khandual 5093c5872b mm/vma: append unlikely() while testing VMA access permissions
It is unlikely that an inaccessible VMA without required permission flags
will get a page fault.  Hence lets just append unlikely() directive to
such checks in order to improve performance while also standardizing it
across various platforms.

Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Guo Ren <guoren@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Link: http://lkml.kernel.org/r/1582525304-32113-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-07 10:43:38 -07:00
..
alpha pci-v5.7-changes 2020-04-03 14:25:02 -07:00
arc ARC updates for 5.7-rc1 2020-04-03 15:28:42 -07:00
arm This is the bulk of GPIO development for the v5.7 kernel cycle. 2020-04-04 10:27:00 -07:00
arm64 1) Improve getrandom and /dev/random's support for those arm64 2020-04-05 10:59:18 -07:00
c6x SCSI misc on 20200402 2020-04-02 17:03:53 -07:00
csky mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
h8300 asm-generic: make more kernel-space headers mandatory 2020-04-02 09:35:25 -07:00
hexagon mm: allow VM_FAULT_RETRY for multiple times 2020-04-02 09:35:30 -07:00
ia64 Char/Misc driver patches for 5.7-rc1 2020-04-03 13:22:40 -07:00
m68k mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
microblaze Two reverts addressing regressions of the Xilinx interrupt controller 2020-04-05 11:57:12 -07:00
mips mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
nds32 SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
nios2 dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00
openrisc dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00
parisc SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
powerpc mm/vma: replace all remaining open encodings with is_vm_hugetlb_page() 2020-04-07 10:43:37 -07:00
riscv SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
s390 s390 updates for the 5.7 merge window 2020-04-04 09:45:50 -07:00
sh mm/vma: make vma_is_accessible() available for general use 2020-04-07 10:43:37 -07:00
sparc SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
um Char/Misc driver patches for 5.7-rc1 2020-04-03 13:22:40 -07:00
unicore32 SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
x86 mm/vma: make vma_is_accessible() available for general use 2020-04-07 10:43:37 -07:00
xtensa dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00