Re: [RFC PATCH 04/10] pipe: Use head and tail pointers for the ring, not cursor and length [ver #2]

From: David Howells
Date: Thu Oct 31 2019 - 10:58:21 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> It's shorter and more obvious to just write
>
> pipe->head = head;
>
> than it is to write
>
> pipe_commit_write(pipe, head);

But easier to find the latter. But whatever.

David