Bottom halves being disabled

Linh Dang linhd at nortelnetworks.com
Wed Aug 25 06:48:49 EDT 2004


David Woodhouse <dwmw2 at infradead.org> wrote:

> On Tue, 2004-08-24 at 22:36 -0400, Linh Dang wrote:
>> Is it safe to convert those spin_locks to mutexes?
>
> A spinlock is a mutex. Do you mean convert to semaphores?

yes

> Why?

reduce latency with preemptable kernel. I've tried that. In my test I
hammered jffs2 pretty hard (for typical flash usage, no kernel
compilation here) and everything still seemed ok.

--
Linh Dang




More information about the linux-mtd mailing list