Re: [RFC PATCH] Introduce filesystem type tracking

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Wilcox
Date: Tuesday, May 20, 2008 - 8:34 am

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."
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Mon May 19, 4:22 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 6:06 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 6:50 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Christoph Hellwig, (Tue May 20, 6:57 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 8:18 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Matthew Wilcox, (Tue May 20, 8:34 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 8:36 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 2:08 pm)
Re: [RFC PATCH] Introduce filesystem type tracking, Matthew Wilcox, (Tue May 20, 3:00 pm)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 3:22 pm)
Re: [RFC PATCH] Introduce filesystem type tracking, Jan Engelhardt, (Wed May 21, 2:42 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Wed May 21, 7:49 am)