Re: [PATCH 1/1] IB: rxe: replace read/write locks with atomic bitops

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

 



On 12/17/18 9:03 PM, Zhu Yanjun wrote:
In rxe_pool.c, pool state is protected by some read/write locks.
Now these read/write locks are replaced with atomic bitops. This can
make source code compact.

I don't think that making the source code more compact is sufficient as a motivation for this change. Unless a better motivation can be provided I prefer to keep the current code.

Thanks,

Bart.



[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