mbox series

[V3,0/2] arm64/mm: Clean ups for do_page_fault()

Message ID 1559898786-28530-1-git-send-email-anshuman.khandual@arm.com (mailing list archive)
Headers show
Series arm64/mm: Clean ups for do_page_fault() | expand

Message

Anshuman Khandual June 7, 2019, 9:13 a.m. UTC
This contains some clean ups for page fault handling in do_page_fault().
This has been boot tested on arm64 platform along with some stress tests
but just build tested on others. Contains remaining two patches from v3
series after the first two patches were merged.

This series applies on arm64 tree:

git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git (for-next/core)

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: Christoph Hellwig <hch@infradead.org>

Changes in V3:

- Dropped first two patches which got queued up for 5.3
- Rebased on branch for-next/core on arm64 tree
- s/is_el0_write_abort/is_write_abort/ with a comment per Mark and Catalin
- s/is_el0_write/is_write following the above change
- Updated commit message on [PATCH V3 2/2] per Catalin

Changes in V2: (https://lkml.org/lkml/2019/6/3/79)

- s/is_write_abort()/is_el0_write_abort() with a comment per Mark Rutland
- s/is_write/is_el0_write/ & updated commit message as required
- s/argument/local variable/ per Christoph Hellwig
- Preserved VMA check order for VM_FAULT_BADMAP & VM_FAULT_BADACCESS per Mark
- Preserved all existing __do_page_fault() in code comments per Mark
- Dropped 'fixes' from the series's subject line per Will Deacon

V1: https://lkml.org/lkml/2019/5/29/431

Anshuman Khandual (2):
  arm64/mm: Consolidate page fault information capture
  arm64/mm: Refactor __do_page_fault()

 arch/arm64/mm/fault.c | 56 +++++++++++++++++++++++++++------------------------
 1 file changed, 30 insertions(+), 26 deletions(-)