Re: Kernel deadlock using nbd over acenic driver

From: Pavel Machek (pavel@suse.cz)
Date: Mon May 27 2002 - 08:44:14 EST


Hi!

> Look in some of the block drivers, floppy.c or loop.c. These do call
> the task queue, even though that's only as an aid to the rest of the
> kernel, because they know they can help at that point, and it's not at
> all clear what context they're in. Perhaps it's best to look in
> floppy.c, which runs the task queue in its init routine! I mean to say

Init routine is called from insmod context or at kernel bootup (from pid==1).

Both look like process context to me.
                                                                Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:23 EST