[PATCH 17/26] mm/riscv: Use general page fault accounting

Pekka Enberg penberg at gmail.com
Wed Jul 1 07:46:24 EDT 2020


Hi Peter,

On Sat, Jun 27, 2020 at 1:36 AM Peter Xu <peterx at redhat.com> wrote:
> 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.

I sent a patch to fix up riscv page fault accounting some days ago:

http://lists.infradead.org/pipermail/linux-riscv/2020-June/000775.html

However, your fix is obviously even better. For the generic and riscv parts:

Reviewed-by: Pekka Enberg <penberg at kernel.org>

- Pekka



More information about the linux-riscv mailing list