aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2021-07-23 10:02:17 +0200
committerVasily Gorbik <[email protected]>2021-08-18 10:01:28 +0200
commit87e225bfa0015aee2812246de56a09126a743192 (patch)
treea3bd3f35c39b69b590444c3c8044a6d5403c7b83 /tools/perf/scripts/python/bin
parent10376b53502ef14661274c40a78cb860b54455fa (diff)
s390/qdio: fine-tune the queue sync
Push the sync check from qdio_inspect_queue() down into the two get_*_buffer_frontier() code paths, where we actually need the sync to look at the current queue state. This lets us avoid the check when we know that there is no work on the queue (ie. when q->nr_buf_used is 0). While at it introduce the qdio_sync_*_queue() helpers, so that we can avoid the branch on q->is_input_q when we already know the queue type. Signed-off-by: Julian Wiedmann <[email protected]> Reviewed-by: Benjamin Block <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions