From: Dan Williams Date: Thu, 4 Mar 2010 04:21:10 +0000 (-0700) Subject: ioat: close potential BUG_ON race in the descriptor cleanup path X-Git-Tag: v2.6.34-rc1~204^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa75db0080603bae27961c0502812dfd0f522bb3;p=pandora-kernel.git ioat: close potential BUG_ON race in the descriptor cleanup path Since ioat_cleanup_preamble() and the update of the last completed descriptor are not synchronized there is a chance that two cleanup threads can see descriptors to clean. If the first cleans up all pending descriptors then the second will trigger the BUG_ON. Signed-off-by: Dan Williams --- Reading git-diff-tree failed