diff options
author | Max Kellermann <[email protected]> | 2023-09-21 09:57:54 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-10-19 11:02:47 +0200 |
commit | dfaabf916b1ca83cfac856745db2fc9d57d9b13a (patch) | |
tree | 33069461ea8adc197f3eab1e3c0d9b3551ed6e25 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | b4bd6b4bac8edd61eb8f7b836969d12c0c6af165 (diff) |
fs/pipe: remove unnecessary spinlock from pipe_write()
This reverts commit 8df441294dd3 ("pipe: Check for ring full inside of
the spinlock in pipe_write()") which was obsoleted by commit
c73be61cede ("pipe: Add general notification queue support") because
now pipe_write() fails early with -EXDEV if there is a watch_queue.
Without a watch_queue, no notifications can be posted to the pipe and
mutex protection is enough, as can be seen in splice_pipe_to_pipe()
which does not use the spinlock either.
Signed-off-by: Max Kellermann <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: David Howells <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions