]> git.baikalelectronics.ru Git - kernel.git/commit
mm/sparc64: use general page fault accounting
authorPeter Xu <peterx@redhat.com>
Wed, 12 Aug 2020 01:38:46 +0000 (18:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:58:04 +0000 (10:58 -0700)
commitc20421ebc42f29ed49913860b642263cf3bc2dbc
treefe4badd2bde03a1b270fa07815bed4b601f2cfa5
parentf9fc28b71279d2648082d6afab795f3ff5bd72b8
mm/sparc64: 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.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: David S. Miller <davem@davemloft.net>
Link: http://lkml.kernel.org/r/20200707225021.200906-22-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sparc/mm/fault_64.c