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

Skip to content
Commit 27bc044d authored by Jeremy Gebben's avatar Jeremy Gebben Committed by Stephen Boyd
Browse files

msm: kgsl: guard all mem_idr operations with the mem_lock



It isn't possible to use rcu_read_lock() sections to guard
access to a data structure that is refcounted with a kref.
Rather than creating RCU-aware refcounts for kgsl_mem_entry
as described in Documentation/RCU/rcuref.txt, just use
the mem_lock to guard lookups in the idr.

Change-Id: Ia0733b156fc7a9b446cb8221b9172ce9faf111e7
Signed-off-by: default avatarJeremy Gebben <jgebben@codeaurora.org>
parent f087ed5f
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