[PATCH openEuler-5.10 08/59] sched/fair: Generalize the detach_task interface