[PATCH openEuler-1.0-LTS 06/13] sched/fair: Generalize the detach_task interface