summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2019-08-02 07:31:36 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-07 21:00:59 +0200
commitd9e87b4415c7a81986f440e32f628325f79ae533 (patch)
tree9a58e93ac3a33e11cc7cf8bf6a5c2e72bd9de667 /tools/perf/scripts/python
parent3c803c1552920d689177874bb49c7610fd7fdc9b (diff)
ipmi_si: Only schedule continuously in the thread in maintenance mode
[ Upstream commit 340ff31ab00bca5c15915e70ad9ada3030c98cf8 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions