Re: [PATCH] msp3400 (bttv), new semaphores boundary

Willem Boschman (wiz@xs4all.nl)
Thu, 21 Jan 1999 21:19:28 +0100


> --- drivers/char/msp3400.c.old Thu Jan 21 11:29:14 1999
> +++ drivers/char/msp3400.c Thu Jan 21 11:29:26 1999
> @@ -543,7 +543,8 @@
> goto done;
> if (debug > 1)
> printk("msp3400: thread: sleep\n");
> - down_interruptible(&sem);
> + down_interruptible(&sem);
> + sem = MUTEX_LOCKED;
> if (debug > 1)
> printk("msp3400: thread: wakeup\n");
> if (msp->rmmod || signal_pending(current))
>

Hi Harald,

tried your patch on pre9 which isn't as bad as pre8 but still slowed
down my machine a lot.. and it works great, bttv is fine again just in
time for 2.2.

thanks
-willem

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/