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@xxxxxxxxxx> 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@xxxxxxxxxx> Thanks! -- Peter Xu