android_kernel_msm-6.1_noth.../kernel/cgroup
liuxudong5 176d72d941 ANDROID: vendor_hooks: export cgroup_threadgroup_rwsem
When the task wakes up from percpu_rwsem_wait, it will enter a long
runnable state, which will cause frame loss when the application
starts. In order to solve this problem, we need to let the process
enter the "vip" queue when it is woken up, so we need to set a flag
for the process holding the lock to prove that it is about to hold
the lock. Most of this long runnable state occurs in the
cgroup_threadgroup_rwsem, so we only care cgroup_threadgroup_rwsem,
and cgroup_threadgroup_rwsem should be exported. Finally, if the
semaphore is of cgroup_threadgroup_rwsem type and has a flag,
then let it join the "vip" queue.

Bug: 297785167
Signed-off-by: liuxudong <liuxudong5@xiaomi.com>
Change-Id: I2297dfbc2f2681581241f85a3b4fd59415ea67db
2023-09-05 21:16:05 +00:00
..
cgroup-internal.h ANDROID: cgroup: Add android_rvh_cgroup_force_kthread_migration 2023-08-28 23:28:01 +00:00
cgroup-v1.c ANDROID: cgroup: Add android_rvh_cgroup_force_kthread_migration 2023-08-28 23:28:01 +00:00
cgroup.c ANDROID: vendor_hooks: export cgroup_threadgroup_rwsem 2023-09-05 21:16:05 +00:00
cpuset.c ANDROID: cgroup: Add vendor hook for cpuset. 2023-05-11 13:10:00 +00:00
debug.c
freezer.c ANDROID: vendor_hooks: Add hooks for waking up and exiting control 2023-08-25 18:32:06 +00:00
legacy_freezer.c ANDROID: freezer: export the freezer_cgrp_subsys for GKI purpose. 2023-05-17 00:25:38 +00:00
Makefile cgroup: Add misc cgroup controller 2021-04-04 13:34:46 -04:00
misc.c misc_cgroup: remove error log to avoid log flood 2021-09-20 07:35:38 -10:00
namespace.c memcg: enable accounting for new namesapces and struct nsproxy 2021-09-03 09:58:12 -07:00
pids.c cgroup: add pids.peak interface for pids controller 2022-09-04 09:26:51 -10:00
rdma.c cgroup: fix spelling mistakes 2021-05-24 12:45:26 -04:00
rstat.c cgroup: fix display of forceidle time at root 2023-04-20 12:35:13 +02:00