• Dan Williams's avatar
    ioat2,3: convert to producer/consumer locking · 074cc476
    Dan Williams authored
    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: default avatarDan Williams <dan.j.williams@intel.com>
    074cc476
dma_v2.h 5.83 KB