mm-powerpc-use-general-page-fault-accounting.patch removed from -mm tree
The patch titled
Subject: mm/powerpc: use general page fault accounting
has been removed from the -mm tree. Its filename was
mm-powerpc-use-general-page-fault-accounting.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Peter Xu <[email protected]>
Subject: mm/powerpc: use general page fault accounting
Use the general page fault accounting by passing regs into handle_mm_fault().
Signed-off-by Peter Xu <[email protected]>
Acked-by Michael Ellerman <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/powerpc/mm/fault.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)
arch/powerpc/mm/fault.c renamed from arch/powerpc/mm/fault.c~mm-powerpc-use-general-page-fault-accounting +3 -8
@@ -511,7 +511,7 @@ retry:* make sure we exit gracefully rather than endlessly redo * the fault. */ - fault =handle_mm_fault (vma, address, flags,NULL ); + fault =handle_mm_fault (vma, address, flags, regs); major |= fault &VM_FAULT_MAJOR ;
@@ -537,14 +537,9 @@ retry:/* * Major/minor page fault accounting. */ -if (major) { - current->maj_flt++; -perf_sw_event (PERF_COUNT_SW_PAGE_FAULTS_MAJ ,1 , regs, address); +if (major)cmo_account_page_fault (); - }else { - current->min_flt++; -perf_sw_event (PERF_COUNT_SW_PAGE_FAULTS_MIN ,1 , regs, address); - } +return 0 ; }NOKPROBE_SYMBOL (__do_page_fault);
_
Patches currently in -mm which might be from [email protected] are