lkml.org 
[lkml]   [2000]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] updates for the pipe code
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:56    [W:0.020 / U:33.960 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site