diff options
author | Corey Minyard <cminyard@mvista.com> | 2019-08-02 07:31:36 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-08-05 16:17:27 -0500 |
commit | 340ff31ab00bca5c15915e70ad9ada3030c98cf8 (patch) | |
tree | 58e04300e51ab77585c06ccf0850313162be1bcc /kernel | |
parent | 93b6984b31182cfc340495af17691c0b9d53f6b2 (diff) | |
download | linux-340ff31ab00bca5c15915e70ad9ada3030c98cf8.tar.bz2 |
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: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions