login
Header Space

 
 

Re: [PATCH RFC 1/5] vringfd syscall

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anthony Liguori <anthony@...>
Cc: <linux-kernel@...>, <netdev@...>, Max Krasnyansky <maxk@...>, <virtualization@...>
Date: Saturday, April 5, 2008 - 11:03 pm

On Sunday 06 April 2008 03:13:41 Anthony Liguori wrote:

Heh, yes... spot the last minute change from malloc to calloc.


Well, not I have lguest working, I can just blow away the test program.  It
just tests poll.


I don't think so.  It doesn't depend on either.


This needs a comment. num_out and num_in are in parameters specifying the 
maximum of each.


Yes, this is a hack.  It actually means ring <= 256 for PAGE_SIZE 4096.  I'm 
not entirely comfortable with it.


Erk, the size check that was supposed to be here got lost in the reshuffle :(.

One option is to use a sliding window, but better is to do best effort and 
have the tun driver fall back (this is actually possible with a slight 
change).

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH RFC 1/5] vringfd syscall, Anthony Liguori, (Sat Apr 5, 1:13 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Rusty Russell, (Sat Apr 5, 11:03 pm)
speck-geostationary