Re: [PATCH V3 1/2] arm64/mm: Consolidate page fault information capture

2019-06-07 Thread Catalin Marinas
On Fri, Jun 07, 2019 at 11:30:46AM +0100, Mark Rutland wrote: > On Fri, Jun 07, 2019 at 02:43:05PM +0530, Anshuman Khandual wrote: > > This consolidates page fault information capture and move them bit earlier. > > While here it also adds an wrapper is_write_abort(). It also saves some > > cycles

Re: [PATCH V3 1/2] arm64/mm: Consolidate page fault information capture

2019-06-07 Thread Mark Rutland
On Fri, Jun 07, 2019 at 02:43:05PM +0530, Anshuman Khandual wrote: > This consolidates page fault information capture and move them bit earlier. > While here it also adds an wrapper is_write_abort(). It also saves some > cycles by replacing multiple user_mode() calls into a single one earlier >

[PATCH V3 1/2] arm64/mm: Consolidate page fault information capture

2019-06-07 Thread Anshuman Khandual
This consolidates page fault information capture and move them bit earlier. While here it also adds an wrapper is_write_abort(). It also saves some cycles by replacing multiple user_mode() calls into a single one earlier during the fault. Signed-off-by: Anshuman Khandual Cc: Catalin Marinas Cc: