Messages in this thread | | | Subject | Re: Oops in 2.2.15pre7 | Date | Sat, 19 Feb 2000 23:16:31 +0000 (GMT) | From | Alan Cox <> |
| |
> > 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/
| |