| Date | Tue, 28 Mar 2023 19:40:31 -0400 | Subject | Re: [PATCH v3 03/11] scsi: scsi_debug: Change shost list lock to a mutex | From | Douglas Gilbert <> |
| |
On 2023-03-27 03:43, John Garry wrote: > The shost list lock, sdebug_host_list_lock, is a spinlock. We would only > lock in non-atomic context in this driver, so use a mutex instead, which > is friendlier if we need to schedule when iterating. > > Signed-off-by: John Garry <john.g.garry@oracle.com> Acked-by: Douglas Gilbert <dgilbert@interlog.com
Thanks.
|