Re: [PATCH] bttv driver II

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed May 24 2000 - 09:45:19 EST


> Eventually the semaphore will be replaced by the
> spinlock (at least most ocurrences) but I need more than
> a couple of hours looking at the code for the first time
> to do it right...

I think you will find you need both. Look at set_pll() for example. We can't
sleep holding a spinlock and we certainly cannot have people re-entering
set_pll()

-
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/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:11 EST