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

Skip to content
Commit 0918c7d4 authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

gpu: ion: add locking to traversal of volatile rb tree



In ion_debug_heap_show we're iterating over an rb tree (dev->clients)
that could change while we're iterating. Fix this by taking the lock
that is used to control access to this tree.

CRs-Fixed: 571918
Change-Id: I6832e1e98e2d2a69fc653451d3752d43ec3ef269
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent eb7a0f7b
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