Re: [PATCH RFC 3/5] tun: vringfd receive support.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rusty Russell <rusty@...>
Cc: <linux-kernel@...>, <netdev@...>, <virtualization@...>
Date: Thursday, April 10, 2008 - 1:18 pm

Rusty Russell wrote:
Hmm, the version that I sent you awhile ago (remember I sent you an attachment 
with prototype of the new tun driver and user space code) was not that bad in 
that area. It mean it did not touch existing read()/write() path. The 
difference was that it allocated the rings and the data buffer in the kernel 
and mapped into the user-space. Which is not what you guys need but that's a 
separate thing.

The fd thing could be an issue. As I mentioned the example would be a VPN 
server (OpenVPN, etc) with a bunch of client connection (typically tun per 
connection).

I see.

I'll try to spend some time on this in a near future and take a crack at the 
version with the TUN specific rings. Although I said that many times now and 
it may not happen in the near enough future :). In the mean time if your 
current version helps you guys a lot I do not mind us putting it in. We can 
always add another mode or something that uses internal rings and gradually 
obsolete old read()/write() and generic rings.

Max
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC 1/5] vringfd syscall, Rusty Russell, (Sat Apr 5, 8:02 am)
Re: [PATCH RFC 1/5] vringfd syscall, Marcelo Tosatti, (Sat Apr 12, 1:18 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Rusty Russell, (Sat Apr 12, 2:19 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Marcelo Tosatti, (Sat Apr 12, 1:39 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Jeremy Fitzhardinge, (Wed Apr 9, 3:28 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Arnd Bergmann, (Mon Apr 7, 10:35 pm)
Re: [PATCH RFC 1/5] vringfd syscall , Jonathan Corbet, (Mon Apr 7, 1:54 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Rusty Russell, (Mon Apr 7, 6:34 pm)
[PATCH RFC 2/5] vringfd base/offset, Rusty Russell, (Sat Apr 5, 8:04 am)
Re: [PATCH RFC 2/5] vringfd base/offset, Arnd Bergmann, (Tue Apr 8, 1:14 am)
Re: [PATCH RFC 2/5] vringfd base/offset, Avi Kivity, (Sat Apr 5, 8:44 am)
Re: [PATCH RFC 2/5] vringfd base/offset, Rusty Russell, (Sat Apr 5, 10:54 pm)
[PATCH RFC 3/5] tun: vringfd receive support., Rusty Russell, (Sat Apr 5, 8:05 am)
Re: [PATCH RFC 3/5] tun: vringfd receive support., Max Krasnyansky, (Tue Apr 8, 3:49 pm)
Re: [PATCH RFC 3/5] tun: vringfd receive support., Rusty Russell, (Thu Apr 10, 1:44 am)
Re: [PATCH RFC 3/5] tun: vringfd receive support., Max Krasnyanskiy, (Thu Apr 10, 1:18 pm)
Re: [PATCH RFC 3/5] tun: vringfd receive support., Max Krasnyanskiy, (Thu Apr 10, 1:02 pm)
[PATCH RFC 4/5] tun: vringfd xmit support., Rusty Russell, (Sat Apr 5, 8:06 am)
Re: [PATCH RFC 4/5] tun: vringfd xmit support., Herbert Xu, (Mon Apr 7, 1:13 am)
Re: [PATCH RFC 4/5] tun: vringfd xmit support., Rusty Russell, (Mon Apr 7, 3:24 am)
Re: [PATCH RFC 4/5] tun: vringfd xmit support., David Miller, (Mon Apr 7, 3:35 am)
Re: [PATCH RFC 4/5] tun: vringfd xmit support., Rusty Russell, (Mon Apr 7, 9:51 pm)
[PATCH RFC 5/5] lguest support, Rusty Russell, (Sat Apr 5, 8:09 am)