[PATCH openEuler-1.0-LTS 3/6] tasks, sched/core: Ensure tasks are available for a grace period after leaving the runqueue