JFFS3 & performance

David Woodhouse dwmw2 at infradead.org
Tue Jan 25 05:56:39 EST 2005


On Tue, 2005-01-25 at 11:51 +0100, Jörn Engel wrote:
> > RULE: Can not have any f->sem locked if gonna lock f->alloc_sem.
> 
> Or c->erase_completion_lock if you want to lock either of the above.

That's obvious -- you can't lock semaphores while you hold spinlocks.

> Or c->inocache_lock if you want to lock either of the above.

That (inocache_lock vs. erase_completion_lock) is documented in
README.Locking.

-- 
dwmw2





More information about the linux-mtd mailing list