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:
Charan Teja Reddy <charante@codeaurora.org>
Loading
Please register or sign in to comment