Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/deferred_work/3-4-5-deferred: Protect pid_task() with 'rcu_read…
…_lock()' 'get_proc()' in 'deferred.c' is calling 'pid_task()' without holding the rcu read lock. This result in below lockdep warning: ============================= WARNING: suspicious RCU usage 4.19.0+ #4 Tainted: G O ----------------------------- kernel/pid.c:330 suspicious rcu_dereference_check() usage! This commit fixes it. Signed-off-by: SeongJae Park <[email protected]>
- Loading branch information