瀏覽代碼

[PATCH] ppc64: Spread lpevents by default on iSeries

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

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Michael Ellerman 20 年之前
父節點
當前提交
fc07695386
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/ppc64/kernel/ItLpQueue.c

+ 1 - 1
arch/ppc64/kernel/ItLpQueue.c

@@ -69,7 +69,7 @@ struct HvLpEvent * ItLpQueue_getNextLpEvent( struct ItLpQueue * lpQueue )
 	return nextLpEvent;
 	return nextLpEvent;
 }
 }
 
 
-unsigned long spread_lpevents = 1;
+unsigned long spread_lpevents = NR_CPUS;
 
 
 int ItLpQueue_isLpIntPending( struct ItLpQueue * lpQueue )
 int ItLpQueue_isLpIntPending( struct ItLpQueue * lpQueue )
 {
 {