[PATCH 7/7] um: simplify IRQ handling code
Johannes Berg
johannes at sipsolutions.net
Wed Dec 2 06:32:57 EST 2020
On Wed, 2020-12-02 at 11:31 +0000, Anton Ivanov wrote:
>
> I think we should just handle EPOLLHUP and do an IRQ + fd disable if it HUPS.
>
> This way a close will always be handled correctly regardless of where and how it closed.
Yes, but that's sort of a separate thing?
Also, we probably should disable SIGIO if the IRQ is freed, otherwise
the FD can keep interrupting us but we don't find anything in the epoll
set ... But again, a separate cleanup?
johannes
More information about the linux-um
mailing list