On Tue, May 20, 2008 at 04:18:14PM +0100, Tom Spink wrote:
You can't take a mutex while holding a spinlock -- what if you had to
sleep to acquire the mutex?
I imagine you also don't want to hold a spinlock while calling the
->init or ->exit -- what if the fs wants to sleep in there (eg allocate
memory with GFP_KERNEL).
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--