[PATCH 2/15] ppc64: Spread lpevents by default on iSeries

Michael Ellerman michael at ellerman.id.au
Tue Jun 28 09:17:04 EST 2005


Hi,

With the previous patch in place, spreading lpevents by default becomes
a one liner.


Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
--

 arch/ppc64/kernel/ItLpQueue.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: work/arch/ppc64/kernel/ItLpQueue.c
===================================================================
--- work.orig/arch/ppc64/kernel/ItLpQueue.c
+++ work/arch/ppc64/kernel/ItLpQueue.c
@@ -69,7 +69,7 @@ struct HvLpEvent * ItLpQueue_getNextLpEv
 	return nextLpEvent;
 }
 
-unsigned long spread_lpevents = 1;
+unsigned long spread_lpevents = NR_CPUS;
 
 int ItLpQueue_isLpIntPending( struct ItLpQueue * lpQueue )
 {



More information about the Linuxppc64-dev mailing list