Re: Unusually long delay in the kernel

From: Alan Stern
Date: Mon Sep 19 2005 - 13:07:24 EST


On Sat, 17 Sep 2005, Andrew Morton wrote:

> Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > > Presumably it's spinning on the bkl. Is this actually an SMP machine? If
> > > so, perhaps some other process is holding the bkl for a long time. Perhaps
> > > a netdevice spending a long time diddling hardware in an ioctl, something
> > > like that.
> >
> > I need to do more precise tests. Some quick informal tests indicated that
> > the lock_kernel call and the daemonize call each took a noticeable time.
>
> Something odd is happening.

Forget about this. It turned out to be an unexpected side effect from the
problems with the SCSI error handler. Once that was fixed, the delay went
away.

Alan Stern

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