kernel - Optimize idle thread halt