Re: 2.4.2-ac3: loop threads in D state

Alexander Viro (viro@math.psu.edu)
Sun, 25 Feb 2001 17:48:15 -0500 (EST)


On Sun, 25 Feb 2001, Jens Axboe wrote:

> On Sun, Feb 25 2001, Nate Eldredge wrote:
> > Nate Eldredge writes:
> > > Kernel 2.4.2-ac3.
> > >
> > > FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND
> > > 40 0 425 1 -1 -20 0 0 down DW< ? 0:00 (loop0)
> >
> > It looks like this has been addressed in the thread "242-ac3 loop
> > bug". Jens Axboe posted a patch, but the list archive I'm reading
> > mangled it. Jens, could you make this patch available somewhere, or
> > at least email me a copy? (If it's going in an upcoming -ac patch,
> > then don't bother; I can wait until then.)
>
> Patch is here, I haven't checked whether Alan put it in ac4 yet (I
> did cc him, but noone knows for sure :-).

Jens, you have a race in lo_clr_fd() (loop-6). I've put the fixed
variant on ftp.math.psu.edu/pub/viro/loop-S2.gz. Diff and you'll
see - it's in the very beginning of the lo_clr_fd().
Cheers,
Al

-
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/