Re: Kernel deadlock using nbd over acenic driver

Pavel Machek (pavel@suse.cz)
Mon, 27 May 2002 13:44:14 +0000


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/