[openib-general] [PATCH]code optimization in ib_register_mad_agent()

Sean Hefty mshefty at ichips.intel.com
Fri Oct 29 17:13:45 PDT 2004


On Fri, 29 Oct 2004 17:35:40 -0600
Shirley Ma <xma at us.ibm.com> wrote:

> I am starting to look at the access layer code. Here is a code 
> optimization patch in ib_register_mad_agent().

ib_mad_client_id must be incremented while holding the spinlock (or
converted into an atomic).  The rest of the initialization looks fine
moved upwards.

- Sean



More information about the general mailing list