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

Michael Ellerman michael at ellerman.id.au
Wed Jun 29 17:49:52 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: ppc64-2.6/arch/ppc64/kernel/ItLpQueue.c
===================================================================
--- ppc64-2.6.orig/arch/ppc64/kernel/ItLpQueue.c
+++ ppc64-2.6/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