kernel_optimize_test/arch/xtensa
Peter Xu 484e51e4af mm/xtensa: use general page fault accounting
Use the general page fault accounting by passing regs into
handle_mm_fault().  It naturally solve the issue of multiple page fault
accounting when page fault retry happened.

Remove the PERF_COUNT_SW_PAGE_FAULTS_[MAJ|MIN] perf events because it's
now also done in handle_mm_fault().

Move the PERF_COUNT_SW_PAGE_FAULTS event higher before taking mmap_sem for
the fault, then it'll match with the rest of the archs.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
Link: http://lkml.kernel.org/r/20200707225021.200906-24-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-12 10:58:04 -07:00
..
boot Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00
configs xtensa: reorganize vectors placement 2020-02-04 21:57:02 -08:00
include uaccess: remove segment_eq 2020-08-12 10:57:58 -07:00
kernel Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
lib xtensa: abstract 'entry' and 'retw' in assembly code 2019-07-08 10:04:48 -07:00
mm mm/xtensa: use general page fault accounting 2020-08-12 10:58:04 -07:00
oprofile
platforms xtensa/simdisk: remove the call to check_disk_change 2020-07-08 16:20:01 -06:00
variants
Kconfig Xtensa updates for v5.9: 2020-08-06 10:07:40 -07:00
Kconfig.debug xtensa: make stack dump size configurable 2019-11-26 11:33:39 -08:00
Makefile xtensa: add XIP kernel support 2019-11-26 11:33:38 -08:00