diff options
| author | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2017-06-21 09:22:45 +0530 |
|---|---|---|
| committer | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2017-06-21 09:24:13 +0530 |
| commit | 5d3984c09f1dbc8021b35765c1fb307f6044642b (patch) | |
| tree | 12f855f73e9709d021ca0df3ff59dced091a57e8 /security/selinux/hooks.c | |
| parent | 560a996da5c0bf398d2fba51e9909cd7323afea8 (diff) | |
ANDROID: uid_sys_stats: Replace tasklist lock with RCU in uid_cputime_show
Tasklist lock is acuquired in uid_cputime_show for updating the stats
for all tasks in the system. This can potentially disable preemption
for several milli seconds. Replace tasklist_lock with RCU read side
primitives.
Change-Id: Ife69cb577bfdceaae6eb21b9bda09a0fe687e140
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
