Files
Rick Yiu 401be11d93 ANDROID: sched: Add trace_android_rvh_set_user_nice_locked
We will need vendor hook of set_user_nice with lock to avoid race

The purpose of hooking set_user_nice is to allow vendor to hack the
task prio from other userspace processes like framework, so that
vendor could tune the prio of important tasks. Since it is a hack,
there should be not much that upstream could do.
condition.

Bug: 344826816
Bug: 300872872
Change-Id: I24fc1e13cc6578dcc418d956a5146ad29ff76a56
Signed-off-by: Rick Yiu <rickyiu@google.com>
(cherry picked from commit eb67f583227fd814a207ea88897ff6d6cf5665c1)
Signed-off-by: Qais Yousef <qyousef@google.com>
2025-06-09 21:04:20 -07:00

40 KiB