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

- From: David Howells \<dhowells@redhat.com\>
- Date: 2019-10-31 14:58:07 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2019/10/165895
- Thread: https://ratatoskr.run/keyrings/2019/10/165489/t.md

```text
Linus Torvalds [ref] 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
```
