[PATCH 06/26] mm/csky: Use general page fault accounting

2020-06-26 Thread Peter Xu
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. CC: Guo Ren CC: linux-c...@vger.kernel.org Signed-off-by: Peter Xu --- arch/csky/mm/fault.c | 12 +--- 1 file chan

Re: [PATCH 06/26] mm/csky: Use general page fault accounting

2020-06-20 Thread Peter Xu
On Sat, Jun 20, 2020 at 09:44:31AM +0800, Guo Ren wrote: > On Sat, Jun 20, 2020 at 12:05 AM Peter Xu 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 h

Re: [PATCH 06/26] mm/csky: Use general page fault accounting

2020-06-19 Thread Guo Ren
On Sat, Jun 20, 2020 at 12:05 AM Peter Xu 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. > > CC: Guo Ren > CC: linux-c...@vger.kernel.org > Signed-off-by: P

[PATCH 06/26] mm/csky: Use general page fault accounting

2020-06-19 Thread Peter Xu
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. CC: Guo Ren CC: linux-c...@vger.kernel.org Signed-off-by: Peter Xu --- arch/csky/mm/fault.c | 12 +--- 1 file chan