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

Peter Xu peterx at redhat.com
Thu Jul 2 11:51:32 EDT 2020

On Wed, Jul 01, 2020 at 02:46:24PM +0300, Pekka Enberg wrote:
> Hi Peter,

Hi, Pekka,

> 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

Yes, this is a valid fix too.

> However, your fix is obviously even better. For the generic and riscv parts:
> Reviewed-by: Pekka Enberg <penberg at kernel.org>


Peter Xu

More information about the linux-riscv mailing list