[openib-general] Re: [PATCH] IPoIB splitting CQ, increase both send/recv poll NUM_WC & interval

Roland Dreier rdreier at cisco.com
Wed Apr 19 16:32:49 PDT 2006


    Shirley> But I was little bit confused about ah->last_send. Why
    Shirley> not use reference count instead?

The reasons may be lost in the mists of time, but I think using
last_send saves us from having to decrement a reference count when
sends complete.  Since last_send is only set in the serialized send
path, we can do a plain old non-atomic integer assignment.

 - R.



More information about the general mailing list