[PATCH] fix selector unit bug affecting some USB speakerphones

2007-08-06 Thread Russ Cox
My reading of the maintainers file is that sound/usb/usbmixer.c belongs to [EMAIL PROTECTED] but I got no response to this message, so I am resending it here. Russ -- Forwarded message -- From: Russ Cox <[EMAIL PROTECTED]> Date: Jun 21, 2007 7:48 PM Subject: [PATCH] fix se

Re: [PATCH] Add const to pointer qualifiers for __chk_user_ptr and __chk_io_ptr.

2007-03-26 Thread Russ Cox
On 3/26/07, Christopher Li <[EMAIL PROTECTED]> wrote: On Mon, Mar 26, 2007 at 11:23:56AM -0400, Russ Cox wrote: > Change prototypes for __chk_user_ptr and __chk_io_ptr > to take const void* instead of void*, so that code can pass > const void* to them. (Right now sparse does n

[PATCH] Add const to pointer qualifiers for __chk_user_ptr and __chk_io_ptr.

2007-03-26 Thread Russ Cox
check this, the changed prototypes will be necessary.) Signed-off-by: Russ Cox <[EMAIL PROTECTED]> Signed-off-by: Josh Triplett <[EMAIL PROTECTED]> --- include/linux/compiler.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) e5174dfa73190036ae1086110292594a3ffb3752

Re: [PATCH] fix quadratic behavior of shrink_dcache_parent()

2007-02-10 Thread Russ Cox
Unfortunately this patch doesn't completely solve this problem, since the system will still be hosed due to all memory being used up by dentries. And I bet the OOM killer won't find the real target (du) but will kill anything before that. So the second part of the problem is to somehow limit the

Re: [PATCH] fix quadratic behavior of shrink_dcache_parent()

2007-02-09 Thread Russ Cox
"The file system mounted on /tmp/z in the example contains 2^50 directories". heh. I do wonder how realistic this problem is in real life. That's a fair concern, although I was trying this as part of evaluating how much someone could hose a system if we let them mount arbitrary FUSE servers.

Re: [V9fs-developer] [PATCH 2.6.13-rc3-mm2] v9fs: add fd based transport

2005-07-28 Thread Russ Cox
> +static int v9fs_fd_recv(struct v9fs_transport *trans, void *v, int len) > +{ > + struct v9fs_trans_fd *ts = trans ? trans->priv : NULL; > + > + return kernel_read(ts->in_file, ts->in_file->f_pos, v, len); > +} > +static int v9fs_fd_send(struct v9fs_transport *trans, void *v, int le