Re: Oops in 2.2.15pre7

From: kuznet@ms2.inr.ac.ru
Date: Mon Feb 21 2000 - 09:22:42 EST


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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:27 EST