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

Andi Kleen
2009-01-23T05:38:54Z

> 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.

-Andi
--
ak@linux.intel.com -- Speaking for myself only.