Skip to content

Commit

Permalink
staging: android: ashmem: Get rid of the big mutex lock
Browse files Browse the repository at this point in the history
Ashmem uses a single big mutex lock for all synchronization, and even
uses it when no synchronization issues are present. The contention from
using a single lock results in all-around poor performance.

Use fine-grained locks and atomic constructions to eliminate the big
mutex lock, thereby improving performance greatly.

Signed-off-by: Sultan Alsawaf <[email protected]>
Signed-off-by: Danny Lin <[email protected]>
Signed-off-by: celtare21 <[email protected]>
Signed-off-by: Carlos Ayrton Lopez Arroyo <[email protected]>
  • Loading branch information
kerneltoast authored and Official-Ayrton990 committed May 3, 2020
1 parent f3721e1 commit 3ec8f26
Showing 1 changed file with 122 additions and 143 deletions.
Loading

0 comments on commit 3ec8f26

Please sign in to comment.