Re: [PATCH 10/14] cifs: convert GlobalSMBSeslock from a rwlock to regular spinlock

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

 



On 10/04/2010 11:22 PM, Jeff Layton wrote:
> To prevent races we need to be able to do an atomic_dec_and_lock with
> it, and that won't work with a rwlock.

It's not clear to me where a potential race window is. Could you please
elaborate?


Thanks,

-- 
Suresh Jayaraman
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux