Re: [PATCH 1/1] IB: rxe: replace spin lock with bitops in rxe cq

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

 



On Wed, Jan 09, 2019 at 07:48:42AM -0500, Zhu Yanjun wrote:
> It is a common way to use bitops to indicate the state. So replace spin
> lock with bitops.

Umm, the spin locks also ensure other threads have exited their
critical sections, this is not an equivalent behavior if the spinlock
is not removed..

Did you check is it OK?

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux