deadlock in update_eff_priority