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

Skip to content
Commit 0f6ca90e authored by Rebecca Schultz Zavin's avatar Rebecca Schultz Zavin Committed by Stephen Boyd
Browse files

gpu: ion: Refactor locking



Removes contention for lock between allocate and free by reducing
the length of time the lock is held for.  Split out a seperate
lock to protect the list of heaps and replace it with a rwsem since
the list will most likely only be updated during initialization.

Change-Id: Id10464dfe0d60cdcd64f29edfc94317d8e5ee251
Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>
Git-commit: 675a52aa0d89e8b6c0c05849627381d8a64b2b2b
Git-repo: https://android.googlesource.com/kernel/common


[lauraa@codeaurora.org: Context differences due to debugfs
differences. Need to adjust locking on MSM specific extensions]
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent df4ded34
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