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

Skip to content
Commit 4c3ceca8 authored by Charan Teja Reddy's avatar Charan Teja Reddy
Browse files

dma-buf: replace tasklist_lock with rcu lock



tasklist_lock is not required while traversing the processes list.
Replace it with rcu_read_lock() which can help in avoiding the watchdog
bark/bite which scenario is expected when the writers does
write_lock_irq(&tasklist_lock) and the reader of the same lock who
acquired it first takes more time to release.

Change-Id: I1f2b7a23c85b30fa44eec6e7bff7258923382790
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent bf71d3b0
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