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

Skip to content
Commit d0c6096b authored by Charan Teja Reddy's avatar Charan Teja Reddy Committed by Gerrit - the friendly Code Review server
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 1e52b08a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment