The some of the existing ARM CPU "wait for interrupt" implementations
were buggy - they'd test hlt_counter/need_resched with interrupts enabled, and then go to sleep. An interrupt could be received between the test and sleeping, and we could have 10ms latency before we ran a task. This changeset fixes this by providing a generic "cpu idle" wrapper that handles these issues.
Showing
Please register or sign in to comment