login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
9
Re: [PATCH RFC 1/5] vringfd syscall
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeremy Fitzhardinge <jeremy@...>
To: Rusty Russell <rusty@...>
Cc: <linux-kernel@...>, <netdev@...>, Max Krasnyansky <maxk@...>, <virtualization@...>
Subject:
Re: [PATCH RFC 1/5] vringfd syscall
Date: Wednesday, April 9, 2008 - 3:28 pm
Rusty Russell wrote:
quoted text
> +asmlinkage long sys_vringfd(void __user *addr, > + unsigned num_descs, > + u16 __user *last_used) > +{ > + int fd, err; > + struct file *filp; > + struct vring_info *vr; > + > + /* Must be a power of two, and representable by u16 */ > + if (!num_descs || (num_descs & (num_descs-1)) || num_descs > 65536) { >
65536 doesn't fit in u16. J --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
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.
, Dor Laor
, (Wed Apr 9, 8:46 am)
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)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Linus Torvalds
Linux 2.6.25-rc4
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Andrew Morton
2.6.23-rc6-mm1
git
:
linux-netdev
:
Arjan van de Ven
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Andrew Morton
Re: [BUG] New Kernel Bugs
Radu Rendec
htb parallelism on multi-core platforms
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
602 guests
online.
Online users
strcmp
dougstap74
Syndicate