Sean> This patch fixed my problem hitting the BUG_ON code in Sean> mthca_cmd, line 328. It moves releasing the semaphore to Sean> after freeing the event entry. Unfortunately this backs out the fix for Grant's race. I need to think about the proper fix here. Thanks, Roland