Skip to content
Commit 340ff31a authored by Corey Minyard's avatar Corey Minyard
Browse files

ipmi_si: Only schedule continuously in the thread in maintenance mode



ipmi_thread() uses back-to-back schedule() to poll for command
completion which, on some machines, can push up CPU consumption and
heavily tax the scheduler locks leading to noticeable overall
performance degradation.

This was originally added so firmware updates through IPMI would
complete in a timely manner.  But we can't kill the scheduler
locks for that one use case.

Instead, only run schedule() continuously in maintenance mode,
where firmware updates should run.

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 93b6984b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment