Re: [PATCH, RFC] Remove fasync() BKL usage, take 3325

From: Andi Kleen
Date: Fri Jan 23 2009 - 00:40:02 EST

> I don't know what "the fasync() problem" is?

The state needs to be protected while the per driver ->fasync callback
runs, otherwise the bit can get out of sync with what the driver
thinks it is.

Mind you imho the best way would be to move the bit manipulation for
that into the drivers, but that would require to change them all.

ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at