Having interrupts disabled all the time when running dump_runq() is
not necessary. All the called functions are doing proper locking
and disable interrupts if needed.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
void dump_runq(unsigned char key)
{
- unsigned long flags;
s_time_t now = NOW();
struct cpupool **c;
spin_lock(&cpupool_lock);
- local_irq_save(flags);
printk("sched_smt_power_savings: %s\n",
sched_smt_power_savings? "enabled":"disabled");
schedule_dump(*c);
}
- local_irq_restore(flags);
spin_unlock(&cpupool_lock);
}