Re: [PATCH 2/5] /dev/vring: simple userspace-kernel ringbuffer interface.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rusty Russell
Date: Friday, April 18, 2008 - 7:32 am

On Friday 18 April 2008 21:18:46 Andrew Morton wrote:

Thanks, fixed.


An excellent question, but I thought the modern kernel etiquette was to only 
comment on whitespace and formatting, and call it "review"? :)

Yes, kinda-sorta in that it's a ring buffer.  No, in that it's bidir and 
consumption can be out-of-order (kind of important for I/O buffers).

But the reason I'm not proposing it as a syscall is that I'm not convinced 
it's the One True Solution which everyone should be using.  Time will tell: 
it's clearly not tied to tun and it's been generically useful for virtual 
I/O, but history has not been kind to new userspace interfaces.


Snot from previous version.  Removed.


Yes, except I like the clarity and the BUG_ON.


"#include <copyright-gpl2-plus>" for me, just to add more inclement weather to 
that teacup...

Thanks,
Rusty.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] High-speed tun receive and xmit, Rusty Russell, (Thu Apr 17, 9:33 pm)
[PATCH 3/5] /dev/vring limit and base ioctls, Rusty Russell, (Thu Apr 17, 9:41 pm)
[PATCH 4/5] tun: vringfd receive support., Rusty Russell, (Thu Apr 17, 9:42 pm)
[PATCH 5/5] tun: vringfd xmit support., Rusty Russell, (Thu Apr 17, 9:43 pm)
Re: [PATCH 5/5] tun: vringfd xmit support., Andrew Morton, (Fri Apr 18, 4:31 am)
Re: [PATCH 5/5] tun: vringfd xmit support., pradeep singh rautela, (Fri Apr 18, 4:46 am)
Re: [PATCH 5/5] tun: vringfd xmit support., Ray Lee, (Fri Apr 18, 7:25 am)
Re: [PATCH 2/5] /dev/vring: simple userspace-kernel ringbu ..., Rusty Russell, (Fri Apr 18, 7:32 am)
Re: [PATCH 5/5] tun: vringfd xmit support., Rusty Russell, (Fri Apr 18, 8:15 am)
Re: [PATCH 5/5] tun: vringfd xmit support., Ray Lee, (Fri Apr 18, 9:24 am)
Re: [PATCH 5/5] tun: vringfd xmit support., pradeep singh rautela, (Fri Apr 18, 11:01 am)
Re: [PATCH 5/5] tun: vringfd xmit support., Andrew Morton, (Fri Apr 18, 12:06 pm)
Re: [PATCH 5/5] tun: vringfd xmit support., Andrew Morton, (Fri Apr 18, 6:54 pm)
Re: [PATCH 5/5] tun: vringfd xmit support., Rusty Russell, (Sat Apr 19, 7:41 am)
Re: [PATCH 5/5] tun: vringfd xmit support., Andrew Morton, (Sat Apr 19, 10:51 am)