Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit e809a03d authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by Erfan Abdi
Browse files

qos: Execute notifier callbacks atomically



Allowing the pm_qos notifier callbacks to execute without holding
pm_qos_lock can cause the callbacks to misbehave, e.g. the cpuidle
callback could erroneously send more IPIs than necessary.

Fix this by executing the pm_qos callbacks while pm_qos_lock is held.

Change-Id: I5b9a4ce7986956a2bf49c71f2d26307fc1afe6f6
Signed-off-by: default avatarSultan Alsawaf <sultan@kerneltoast.com>
parent 77252854
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment