[RFC PATCH 1/4] linsched: remove "process_all_softirqs" in main loopfor accuracy

From: Michael Wang
Date: Sun Apr 15 2012 - 23:37:53 EST


From: Michael Wang <wangyun@xxxxxxxxxxxxxxxxxx>

"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@xxxxxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/