Commit db3e01ec authored by Stephen Dickey's avatar Stephen Dickey
Browse files

ANDROID: cpuhp: pause: reduce running priority pause/resume



In order to get a responsive pause operation, the resume/pause_cpus
are usually called within a RT task prio.

However only the lazy-resume and lazy-pause operations need to
happen quickly, the rest can happen at leisure. Running that
portion at high priority keeps the cpu away from important tasks.

Reduce the priority right after the lazy portion, and restore
it before returning, if it was at RT prio.

Bug: 203115740
Fixes: 683010f5 ("ANDROID: cpu/hotplug: add pause/resume_cpus interface")
Change-Id: I1f3394eb9b5fa1876330fef6e25a203da0fde670
Signed-off-by: default avatarStephen Dickey <dickey@codeaurora.org>
parent 2b8b5e76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment