- mm-fault-feedback-more-fixes.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     mm: fault feedback more fixes
has been removed from the -mm tree.  Its filename was
     mm-fault-feedback-more-fixes.patch

This patch was dropped because it was folded into mm-fault-feedback-2.patch

------------------------------------------------------
Subject: mm: fault feedback more fixes
From: Nick Piggin <npiggin@xxxxxxx>


Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/arm26/mm/fault.c |    8 +++-----
 arch/ppc/mm/fault.c   |    4 ++--
 2 files changed, 5 insertions(+), 7 deletions(-)

diff -puN arch/arm26/mm/fault.c~mm-fault-feedback-more-fixes arch/arm26/mm/fault.c
--- a/arch/arm26/mm/fault.c~mm-fault-feedback-more-fixes
+++ a/arch/arm26/mm/fault.c
@@ -225,13 +225,11 @@ int do_page_fault(unsigned long addr, un
 	/*
 	 * Handle the "normal" case first
 	 */
-	if (unlikely(fault & VM_FAULT_SIGBUS))
-	case VM_FAULT_MINOR:
-	case VM_FAULT_MAJOR:
+	if (likely(!(fault & VM_FAULT_ERROR)))
 		return 0;
-	case VM_FAULT_SIGBUS:
+	if (fault & VM_FAULT_SIGBUS)
 		goto do_sigbus;
-	}
+	/* else VM_FAULT_OOM */
 
 	/*
 	 * If we are in kernel mode at this point, we
diff -puN arch/ppc/mm/fault.c~mm-fault-feedback-more-fixes arch/ppc/mm/fault.c
--- a/arch/ppc/mm/fault.c~mm-fault-feedback-more-fixes
+++ a/arch/ppc/mm/fault.c
@@ -259,9 +259,9 @@ good_area:
 		BUG();
 	}
 	if (fault & VM_FAULT_MAJOR)
-		tsk->maj_flt++;
+		current->maj_flt++;
 	else
-		tsk->min_flt++;
+		current->min_flt++;
 
 	up_read(&mm->mmap_sem);
 	/*
_

Patches currently in -mm which might be from npiggin@xxxxxxx are

origin.patch
mm-fix-fault-vs-invalidate-race-for-linear-mappings.patch
mm-merge-populate-and-nopage-into-fault-fixes-nonlinear.patch
mm-fault-feedback-1.patch
mm-fault-feedback-2.patch
mm-fault-feedback-more-fixes.patch
mm-fix-clear_page_dirty_for_io-vs-fault-race.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux