Re: [patch] updates for the pipe code

From: Richard Gooch (rgooch@atnf.csiro.au)
Date: Sun Mar 05 2000 - 14:38:51 EST


Manfred Spraul writes:
> Manfred Spraul wrote:
> >
> > without any locking. This is not SMP safe, but you wrote that it also
> > happens on UP.
> >
>
> I think I spotted the bug:
>
> fifo_open() doesn't initialize PIPE_WAITING_{READERS,WRITERS}.
>
>
> > if PIPE_WAITING_WRITERS gets stuck at one, then pipe_read(,32k) will not
> > return until 32k bytes are written.
> >
>
> could you initialize PIPE_WAITING_{READERS,WRITERS} to 1 and boot that
> kernel?
[...]
> AFAIKS, the kernel should boot, and if your shell scripts lock up, then
> we are on the right track.

Erm, it looks like there's a fix in 2.3.50-pre2 already. Do you still
want me to try the above, or are you fairly sure you know what the
problem is?

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

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



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:18 EST