OpenCloudOS-Kernel/arch/m68k/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
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cache.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fault.c mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
hwtest.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
init.c m68k: mm: Fully initialize the page-table allocator 2020-02-10 10:57:48 +01:00
kmap.c m68k: mm: Restructure Motorola MMU page-table layout 2020-02-10 10:57:48 +01:00
mcfmmu.c m68k: mm: use pgtable-nopXd instead of 4level-fixup 2019-12-04 19:44:15 -08:00
memory.c m68k: mm: Move the pointer table allocator to motorola.c 2020-02-10 10:57:48 +01:00
motorola.c m68k: mm: Extend table allocator for multiple sizes 2020-02-10 10:57:48 +01:00
sun3kmap.c m68k/mm: sun3 - Modernize printing of kernel messages 2017-02-12 10:36:53 +01:00
sun3mmu.c treewide: add checks for the return value of memblock_alloc*() 2019-03-12 10:04:02 -07:00