mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
sched/walt: reduce severity of walt pause warning
It is normal case to see hotplug become disabled and when this happens, pause_cpus and resume_cpus will fail. To walt_pause this is an issue as the requested action cannot be performed, but not from a system perspective. Reduce the severity of the walt_pause error upon failure of pause_cpus() and resume_cpus() to debug only. Corrective action is taken, so the warning doesn't need to be on the console. Change-Id: I5667a1efe46c07379e31bcfd9ff1cfeedd5be64c Signed-off-by: Stephen Dickey <dickey@codeaurora.org>
This commit is contained in:
parent
f6a9379748
commit
04859b6838
|
|
@ -68,8 +68,8 @@ int walt_pause_cpus(struct cpumask *cpus)
|
|||
|
||||
ret = pause_cpus(cpus);
|
||||
if (ret < 0)
|
||||
printk_deferred("pause_cpus failure ret=%d cpus=%*pbl\n", ret,
|
||||
cpumask_pr_args(&requested_cpus));
|
||||
pr_debug("pause_cpus failure ret=%d cpus=%*pbl\n", ret,
|
||||
cpumask_pr_args(&requested_cpus));
|
||||
else
|
||||
update_ref_counts(&requested_cpus, true);
|
||||
unlock:
|
||||
|
|
@ -97,8 +97,8 @@ int walt_resume_cpus(struct cpumask *cpus)
|
|||
|
||||
ret = resume_cpus(cpus);
|
||||
if (ret < 0) {
|
||||
printk_deferred("resume_cpus failure ret=%d cpus=%*pbl\n", ret,
|
||||
cpumask_pr_args(&requested_cpus));
|
||||
pr_debug("resume_cpus failure ret=%d cpus=%*pbl\n", ret,
|
||||
cpumask_pr_args(&requested_cpus));
|
||||
/* restore/increment ref counts in case of error */
|
||||
update_ref_counts(&requested_cpus, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user