mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
e08157c3c4
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. Add the missing PERF_COUNT_SW_PAGE_FAULTS perf events too. Note, the other two perf events (PERF_COUNT_SW_PAGE_FAULTS_[MAJ|MIN]) were done in handle_mm_fault(). Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Brian Cain <bcain@codeaurora.org> Link: http://lkml.kernel.org/r/20200707225021.200906-8-peterx@redhat.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
cache.c | ||
copy_from_user.S | ||
copy_to_user.S | ||
copy_user_template.S | ||
init.c | ||
ioremap.c | ||
Makefile | ||
strnlen_user.S | ||
uaccess.c | ||
vm_fault.c | ||
vm_tlb.c |