Re: Oops in 2.2.15pre7

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Feb 19 2000 - 18:16:31 EST

  • Next message: Khimenko Victor: "Re: tmpfs"

    > > restore_flags(flags);
    > > kfree(fa);
    > > return 1;
    > >
    > > is safe even SMP since the cli/restore_flags means that we cannot be part
    > > way down a queue walk when the entry is freed.
    > >
    >
    > I didn't check the code, but save_flags()+cli() is rarely SMP safe:
    > if you call cli() with disable local interrupts, then cli() is a nop.

    The list is never altered during an interrupt. It is walked during interrupts

    -
    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 Feb 19 2000 - 18:33:46 EST