lkml.org 
[lkml]   [2012]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH 1/4] linsched: remove "process_all_softirqs" in main loop for accuracy
From: Michael Wang <wangyun@linux.vnet.ibm.com>

"process_all_softirqs" will simulate an extra interrupt which will
cause cpu do extra load balance work.

This will make some cpu more active then others, the unfair will
cause inaccuracy.

Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com>
---
tools/linsched/hrtimer.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/linsched/hrtimer.c b/tools/linsched/hrtimer.c
index 26be1d8..de88b25 100644
--- a/tools/linsched/hrtimer.c
+++ b/tools/linsched/hrtimer.c
@@ -206,7 +206,6 @@ void linsched_run_sim(int sim_ticks)
/* a handler should never leave this state changed */
BUG_ON(smp_processor_id() != active_cpu);

- process_all_softirqs();
linsched_rcu_invoke();

BUG_ON(irqs_disabled());
--
1.7.1


\
 
 \ /
  Last update: 2012-04-16 05:41    [W:0.053 / U:1.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site