2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/arch
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
..
alpha mm/alpha: use general page fault accounting 2020-08-12 10:58:03 -07:00
arc mm/arc: use general page fault accounting 2020-08-12 10:58:03 -07:00
arm mm/arm: use general page fault accounting 2020-08-12 10:58:03 -07:00
arm64 mm/arm64: use general page fault accounting 2020-08-12 10:58:03 -07:00
c6x Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:29:25 -07:00
csky mm/csky: use general page fault accounting 2020-08-12 10:58:03 -07:00
h8300 uaccess: remove segment_eq 2020-08-12 10:57:58 -07:00
hexagon mm/hexagon: use general page fault accounting 2020-08-12 10:58:03 -07:00
ia64 mm/ia64: use general page fault accounting 2020-08-12 10:58:03 -07:00
m68k mm/m68k: use general page fault accounting 2020-08-12 10:58:03 -07:00
microblaze mm/microblaze: use general page fault accounting 2020-08-12 10:58:03 -07:00
mips mm/mips: use general page fault accounting 2020-08-12 10:58:03 -07:00
nds32 mm/nds32: use general page fault accounting 2020-08-12 10:58:03 -07:00
nios2 mm/nios2: use general page fault accounting 2020-08-12 10:58:03 -07:00
openrisc mm/openrisc: use general page fault accounting 2020-08-12 10:58:03 -07:00
parisc mm/parisc: use general page fault accounting 2020-08-12 10:58:03 -07:00
powerpc mm/powerpc: use general page fault accounting 2020-08-12 10:58:03 -07:00
riscv mm/riscv: use general page fault accounting 2020-08-12 10:58:03 -07:00
s390 mm/s390: use general page fault accounting 2020-08-12 10:58:03 -07:00
sh mm/sh: use general page fault accounting 2020-08-12 10:58:03 -07:00
sparc mm/sparc64: use general page fault accounting 2020-08-12 10:58:04 -07:00
um mm: do page fault accounting in handle_mm_fault 2020-08-12 10:58:02 -07:00
x86 mm/x86: use general page fault accounting 2020-08-12 10:58:04 -07:00
xtensa mm/xtensa: use general page fault accounting 2020-08-12 10:58:04 -07:00
.gitignore
Kconfig Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00