]> git.baikalelectronics.ru Git - kernel.git/commit
pipe: Advance tail pointer inside of wait spinlock in pipe_read()
authorDavid Howells <dhowells@redhat.com>
Tue, 24 Sep 2019 15:09:04 +0000 (16:09 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 15 Nov 2019 16:22:54 +0000 (16:22 +0000)
commitf49df525465c8d27a9bf0632dd6f1d19f89d267c
treeeb01278af88b386a56fee12ced51cb1764d70aaa
parentec4bea24f1819050efcd5f5a5ee71680e2923525
pipe: Advance tail pointer inside of wait spinlock in pipe_read()

Advance the pipe ring tail pointer inside of wait spinlock in pipe_read()
so that the pipe can be written into with kernel notifications from
contexts where pipe->mutex cannot be taken.

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