linsched: remove process_all_softirqs() in main loop for accuracy
RFC PATCH 1/4 linsched: remove process_all_softirqs() in main loop for accuracy
From: Michael Wang <[email protected]>
process_all_softirqs() will handle softirq for all the cpu even it's not the right timing for them, this will cause inaccuracy.
This patch stop invoke process_all_softirqs(), so softirq will only be handled after timer interrupt arrived.
Signed-off-by Michael Wang <[email protected]>
--- tools/linsched/hrtimer.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
tools/linsched/hrtimer.c +0 -1
@@ -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 ());