
Currently, hdcp wait loops uses the wait_event() macro which sets the status of the thread to WAIT_UNINTERRUPTIBLE and contributes to system load. The macro wait_event_idle() polls for a changing condition in the same way but instead sets the thread status to WAIT_IDLE which does not contribute to system load. This prevents hdcp threads from appearing as hung threads in system load summaries while still properly polling for status changes. Change-Id: Ie6991881d912ba6fca6bb0fd9558633b1fb83492 Signed-off-by: Andrew Bartfeld <quic_abartfel@quicinc.com>
24 KiB
24 KiB