aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2019-12-07 20:54:26 +0000
committerLinus Torvalds <[email protected]>2019-12-07 20:54:26 +0000
commitf467a6a66419a18f782f87507464a5dedc942dec (patch)
tree2c57def4070ff2e823f47db901b3dcfb87368981 /net/unix/af_unix.c
parentpipe: fix and clarify pipe write wakeup logic (diff)
downloadkernel-f467a6a66419a18f782f87507464a5dedc942dec.tar.gz
kernel-f467a6a66419a18f782f87507464a5dedc942dec.zip
pipe: fix and clarify pipe read wakeup logic
This is the read side version of the previous commit: it simplifies the logic to only wake up waiting writers when necessary, and makes sure to use a synchronous wakeup. This time not so much for GNU make jobserver reasons (that pipe never fills up), but simply to get the writer going quickly again. A bit less verbose commentary this time, if only because I assume that the write side commentary isn't going to be ignored if you touch this code. Cc: David Howells <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions