diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-03-24 06:29:01 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-03-26 06:29:44 +0100 |
commit | c0abe2ca3605e4c4fb25bf69d0218c63baf71d2b (patch) | |
tree | 200afc104f4c75b015d53ed481b020eea129d485 /virt | |
parent | remoteproc: Fix NULL pointer dereference in rproc_virtio_notify (diff) | |
download | linux-c0abe2ca3605e4c4fb25bf69d0218c63baf71d2b.tar.xz linux-c0abe2ca3605e4c4fb25bf69d0218c63baf71d2b.zip |
remoteproc: Traverse rproc_list under RCU read lock
In order to be able to traverse the mostly read-only rproc_list without
locking during panic migrate traversal to be done under rcu_read_lock().
Mutual exclusion for modifications of the list continues to be handled
by the rproc_list_mutex and a synchronization point is added before
releasing objects that are popped from the list.
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200324052904.738594-2-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions