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

Skip to content
Commit 71184089 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Todd Kjos
Browse files

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: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent eba1ffe6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment