

I did not push the patch further as I had other priorities, and testing this kind of patch is quite time-consuming when it only reproduces in a measurable way on single physical machine. VT switching) to take abnormally long - on the machine I discovered the bug on, it ends up adding over a second to the session switch time, significantly impacting responsiveness. However, games are not the main user of evdev devices, your display server is! This bug causes input device closure during session switching (e.g. You might think that as a well-behaved game should not be opening/closing evdev fds during gameplay at all, this is clearly just an application bug.

It is important to not conflate POSIX requirements with expected behavior, especially for device files which require very specific knowledge of their implementation to use (DRM ioctl's and resources anyone?).
