From: Joachim Fenkes Date: Mon, 9 Jul 2007 13:30:39 +0000 (+0200) Subject: IB/ehca: Refactor sync between completions and destroy_cq using atomic_t X-Git-Tag: v2.6.23-rc1~1085^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28db6beb420c756c61dd44d9f2786a0677159e74;p=pandora-kernel.git IB/ehca: Refactor sync between completions and destroy_cq using atomic_t - ehca_cq.nr_events is made an atomic_t, eliminating a lot of locking. - The CQ is removed from the CQ idr first now to make sure no more completions are scheduled on that CQ. The "wait for all completions to end" code becomes much simpler this way. Signed-off-by: Joachim Fenkes Signed-off-by: Roland Dreier --- Reading git-diff-tree failed