[PATCH 240/415] sched_ext: Refactor consume_remote_task()