Messages in this thread | | | From | kuznet@ms2 ... | Subject | Re: Oops in 2.2.15pre7 | Date | Mon, 21 Feb 2000 17:22:42 +0300 (MSK) |
| |
Hello!
> Do you mean that this will be enough, and similar thing in tty_io.c?
Only not here! synchronize_irq() must follow fasync list modification.
You modify list and then wait for readers. See? Correct reader will see either list before modification or after modification, both of them are valid. kill_fasync() is correct reader, I do not know about tty_io.c.
> Ain't this leaves small window for race, still?
Personally, I prefer cli()/sti(), because it excludes possibility for reader to be wrong one. But in 2.2 it is really not crucial.
Alexey
- 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/
| |