android_kernel_xiaomi_sm7250/arch/mips/mm
Anshuman Khandual 5c0c9082c2 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>
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Change-Id: I7b6bc21f22d8320f876baa525ad649cf886c989b
2022-11-12 11:21:22 +00:00
..
c-octeon.c
c-r3k.c
c-r4k.c MIPS: c-r4k: Fix section mismatch for loongson2_sc_init 2021-03-04 09:39:38 +01:00
c-tx39.c
cache.c
cerr-sb1.c
cex-gen.S
cex-oct.S
cex-sb1.S
dma-noncoherent.c
extable.c
fault.c mm/vma: append unlikely() while testing VMA access permissions 2022-11-12 11:21:22 +00:00
gup.c mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue 2022-01-27 09:04:34 +01:00
highmem.c
hugetlbpage.c
init.c
ioremap.c
Makefile
mmap.c
page-funcs.S
page.c
pgtable-32.c
pgtable-64.c
pgtable.c
sc-debugfs.c
sc-ip22.c
sc-mips.c
sc-r5k.c
sc-rm7k.c
tlb-funcs.S
tlb-r3k.c
tlb-r4k.c MIPS: export has_transparent_hugepage() for modules 2020-11-24 13:27:21 +01:00
tlb-r8k.c
tlbex-fault.S
tlbex.c MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 2022-08-25 11:15:47 +02:00
uasm-micromips.c
uasm-mips.c
uasm.c