Re: [PATCH] fs/pipe: Read pipe->{head,tail} atomically outside pipe->mutex

From: Linus Torvalds
Date: Tue Mar 04 2025 - 14:06:21 EST


On Tue, 4 Mar 2025 at 03:52, K Prateek Nayak <kprateek.nayak@xxxxxxx> wrote:
>
> pipe_readable(), pipe_writable(), and pipe_poll() can read "pipe->head"
> and "pipe->tail" outside of "pipe->mutex" critical section. [...]

Thanks, applied.

Linus