[openib-general] atomic_read in ib_unregister_mad_agent()

Shirley Ma xma at us.ibm.com
Fri Oct 29 17:35:38 PDT 2004


It's better to use semaphore instead of atomic_read to check the reference 
count 0 in wait_event() in ib_unregister_mad_agent(). 
Agree?

Thanks
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone: (503) 578-7638
FAX:      (503) 578-3228

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20041029/b8e468d0/attachment.html>


More information about the general mailing list