Re: 2.3.99pre8 RAID memory allocation

From: Andi Kleen (ak@suse.de)
Date: Sat May 13 2000 - 08:55:57 EDT

  • Next message: Michal Kosek: "[PATCH]: support for capabilities and other things..."

    On Sat, May 13, 2000 at 01:34:59PM +0200, Ingo Molnar wrote:
    >
    > On Sat, 13 May 2000, Andi Kleen wrote:
    >
    > > While reading 2.3.99pre8:
    > >
    > > + schedule_timeout(2);
    >
    > > Are you sure that you don't need a current->policy |= SCHED_YIELD
    > > here ? Iirc the TCP code something did something very similar,
    > > and the SCHED_YIELD had to be added to avoid mm deadlocks.
    >
    > thx, will add it. The above code is btw. buggy even with your fix, RAID1
    > needs preallocation pool to be undeadlocked. [ problems with the above
    > code were not seen in RL so far - at the point where the above allocation
    > is done we _must not_ fail. (we can only reply with an IO error, which is
    > way off.) ]

    Understood. How many preallocated stripes are needed to be safe ?

    -Andi

    -
    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 : Sat May 13 2000 - 09:01:59 EDT