RE: [PATCH 7/8] scsi: ufshpb: Add "Cold" regions timer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +     /* region "cold" timer - for host mode */
> > +     ktime_t read_timeout;
> > +     atomic_t read_timeout_expiries;
> 
> Why does this have to be an atomic when you have a lock to protect this
> structure already taken?
Done.

You are right, it is protected by the hpb state lock.  Will fix it.

Thanks,
Avri 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux