commit | aa75db0080603bae27961c0502812dfd0f522bb3 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Wed Mar 03 21:21:10 2010 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Wed Mar 03 21:21:10 2010 -0700 |
tree | 3e7fbb0ef4415c9f36107a81378f00bba6db9440 | |
parent | 281befa5592b0c5f9a3856b5666c62ac66d3d9ee [diff] |
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 <dan.j.williams@intel.com>