On 2018/12/18 13:13, Bart Van Assche wrote:
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.
I think atomic bitops is a common method to the state.
Zhu Yanjun
Unless a better motivation can be provided I prefer to keep the
current code.
Thanks,
Bart.