diff options
| author | Julian Wiedmann <[email protected]> | 2019-02-12 18:33:21 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-12 13:14:24 -0500 |
| commit | 0951c6babf49d2f2429cbfbea5cf792d427ecc6a (patch) | |
| tree | 0b466cff27337777a9d4d9943f6453a7c289770a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 51581fd07d8b8f5c3ff4444d6a8d2dc130d6cf57 (diff) | |
s390/qeth: simplify reply object handling
Current code enqueues & dequeues a reply object from the waiter list
in various places. In particular, the dequeue & enqueue in
qeth_send_control_data_cb() looks fragile - this can cause
qeth_clear_ipacmd_list() to skip the active object.
Add some helpers, and boil the logic down by giving
qeth_send_control_data() the sole responsibility to add and remove
objects.
qeth_send_control_data_cb() and qeth_clear_ipacmd_list() will now only
notify the reply object to interrupt its wait cycle. This can cause
a slight delay in the removal, but that's no concern.
Signed-off-by: Julian Wiedmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions