RE: [PATCH 4/8] Drivers: hv: vmbus: Remove unnecessary channel->lock critical sections (sc_list readers)
From: Michael Kelley <hidden>
Date: 2020-06-18 15:29:56
Also in:
lkml
From: Michael Kelley <hidden>
Date: 2020-06-18 15:29:56
Also in:
lkml
From: Andrea Parri (Microsoft) <parri.andrea@gmail.com> Sent: Wednesday, June 17, 2020 9:47 AM
Additions/deletions to/from sc_list (as well as modifications of target_cpu(s)) are protected by channel_mutex, which hv_synic_cleanup() and vmbus_bus_suspend() own for the duration of the channel->lock critical section in question. Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com> --- drivers/hv/hv.c | 3 --- drivers/hv/vmbus_drv.c | 3 --- 2 files changed, 6 deletions(-)
Reviewed-by: Michael Kelley <redacted>