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

David Howells dhowells at redhat.com
Thu Oct 31 14:57:51 UTC 2019


Linus Torvalds <torvalds at linux-foundation.org> 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




More information about the Linux-security-module-archive mailing list