Skip to contentSkip to conversation

linsched: remove "process_all_softirqs" in main loop for accuracy

RFC PATCH In review Michael Wang 1 participant 1 message Apr 16, 2012

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/4 linsched: remove "process_all_softirqs" in main loop for accuracy

From: Michael Wang <[email protected]>

"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.

---
 tools/linsched/hrtimer.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
tools/linsched/hrtimer.c +0 -1
index 26be1d8..de88b25 100644
@@ -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());
Signature · 1 line
1.7.1