summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2020-03-24 06:29:01 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-03-26 06:29:44 +0100
commitc0abe2ca3605e4c4fb25bf69d0218c63baf71d2b (patch)
tree200afc104f4c75b015d53ed481b020eea129d485 /virt
parentremoteproc: Fix NULL pointer dereference in rproc_virtio_notify (diff)
downloadlinux-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