Sleeping changes The sleep_onfunction is subject to races Changes between decision and call Will be removed in 2.5 What to use instead? wait_event completion events manual sleep Manual sleep: Set current state Add to wait queue Test Schedule Leave queue, restore state