Messages in this thread | | | Date | Tue, 13 Sep 2022 19:38:17 +0530 | From | Pavan Kondeti <> | Subject | PSI idle-shutoff |
| |
Hi
The fact that psi_avgs_work()->collect_percpu_times()->get_recent_times() run from a kworker thread, PSI_NONIDLE condition would be observed as there is a RUNNING task. So we would always end up re-arming the work.
If the work is re-armed from the psi_avgs_work() it self, the backing off logic in psi_task_change() (will be moved to psi_task_switch soon) can't help. The work is already scheduled. so we don't do anything there.
Probably I am missing some thing here. Can you please clarify how we shut off re-arming the psi avg work?
Thanks, Pavan
| |