commit | 074cc47679f8b0931d7d5384e95822d82768f149 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Sat May 01 15:22:55 2010 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Sat May 01 15:22:55 2010 -0700 |
tree | bd4699a1c769553f2bbfa931913352d26c81dc4d | |
parent | abb12dfd50c7580d7dcbd581cf6265ba4d01ea7e [diff] |
ioat2,3: convert to producer/consumer locking Use separate locks for the descriptor prep (producer) and descriptor cleanup (consumer) paths. Allows the producer path to run concurrently with the cleanup path. Inspired by Documentation/circular-buffer.txt. Cc: David Howells <dhowells@redhat.com> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>