aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2023-12-19 18:50:02 +0100
committerJonathan Cameron <[email protected]>2023-12-21 11:28:47 +0000
commitee9ec49046951eff704752669f0c388b506ddbdf (patch)
treecd7f0055c6516559244993863224021f42e111cc /tools/perf/scripts/python/futex-contention.py
parent4bb104e4f30d2202657b77c948f9ef1366ac438e (diff)
iio: buffer-dma: Get rid of outgoing queue
The buffer-dma code was using two queues, incoming and outgoing, to manage the state of the blocks in use. While this totally works, it adds some complexity to the code, especially since the code only manages 2 blocks. It is much easier to just check each block's state manually, and keep a counter for the next block to dequeue. Since the new DMABUF based API wouldn't use the outgoing queue anyway, getting rid of it now makes the upcoming changes simpler. With this change, the IIO_BLOCK_STATE_DEQUEUED is now useless, and can be removed. Signed-off-by: Paul Cercueil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions