]> git.baikalelectronics.ru Git - kernel.git/commit
pipe: Conditionalise wakeup in pipe_read()
authorDavid Howells <dhowells@redhat.com>
Tue, 24 Sep 2019 15:07:04 +0000 (16:07 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 15 Nov 2019 16:22:54 +0000 (16:22 +0000)
commit95de0c30590f4d323d0667581f650e1a6297a86b
tree01cd1b646eef48374f50c10fd0cd35792854ffd1
parentdd4806109912ac13ddeb98046bcb10dded390ad8
pipe: Conditionalise wakeup in pipe_read()

Only do a wakeup in pipe_read() if we made space in a completely full
buffer.  The producer shouldn't be waiting on pipe->wait otherwise.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/pipe.c