kgx does excessive wake-ups preventing deep sleep on idle
The get_process_list()
code (running either 500 mesc or 2000 msec) causes spurious wake-ups even when there is no input. This prevents really getting things into deeper sleep when idle.
One thought, would be that we could have a pass-through FD for the PTY which would allow for us to only schedule an idle check in response to I/O.