kernel_optimize_test/arch/csky/mm
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
..
asid.c
cachev1.c csky: Support icache flush without specific instructions 2020-02-21 15:43:24 +08:00
cachev2.c csky/ftrace: Fixup ftrace_modify_code deadlock without CPU_HAS_ICACHE_INS 2020-03-31 22:15:42 +08:00
context.c
dma-mapping.c
fault.c mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
highmem.c
init.c csky: Add setup_initrd check code 2020-02-21 15:43:25 +08:00
ioremap.c
Makefile csky: Fixup ftrace modify panic 2020-02-21 15:43:24 +08:00
syscache.c csky: Add flush_icache_mm to defer flush icache all 2020-02-21 15:43:24 +08:00
tcm.c
tlb.c