[ofa-general] [PATCH 1/3]: IB/core: allow lockless SRQ

Sean Hefty mshefty at ichips.intel.com
Wed Oct 10 09:46:38 PDT 2007


Eli Cohen wrote:
> Allow to modify a SRQ to be lockless
> 
> This patch allow the consumer to call ib_modify_srq and specify
> whether the SRQ is lockless or not.

I would think this needs to be specified at SRQ creation time.

Otherwise, you can end up with a race where the SRQ is modified to/from 
lockless while in a call, resulting in either not releasing a lock, or 
releasing one that wasn't acquired.

- Sean



More information about the general mailing list