We were not checking the return code of wait_event_interruptible(). This causes excessive CPU spinning when a signal occurs while waiting for more data since the signal is a level-triggered event. This also adds some latency to responding to a signal.
We were not checking the return code of wait_event_interruptible(). This causes excessive CPU spinning when a signal occurs while waiting for more data since the signal is a level-triggered event. This also adds some latency to responding to a signal.