[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9c474667-e1b3-18fa-e7dd-a9c1228091df@linux.dev>
Date: Tue, 23 Jan 2024 11:19:35 +0800
From: Yajun Deng <yajun.deng@...ux.dev>
To: mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com, rostedt@...dmis.org,
bsegall@...gle.com, mgorman@...e.de, bristot@...hat.com, vschneid@...hat.com
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] sched: Return NULL when entity isn't a task
Kindly ping...
Thanks
On 2023/12/6 14:33, Yajun Deng wrote:
> If the entity isn't a task, return the task struct is meaningless.
> Return NULL when entity isn't a task that makes the code more concise.
>
> v1 -> v2:
> fix 'struct rt_rq' no member named 'highest_prio'.
>
> Yajun Deng (2):
> sched/fair: Return NULL when entity isn't a task in task_of()
> sched/rt: Return NULL when rt entity isn't a task in rt_task_of()
>
> kernel/sched/fair.c | 50 ++++++++++++++++++------------------
> kernel/sched/rt.c | 60 +++++++++++++-------------------------------
> kernel/sched/sched.h | 4 ++-
> 3 files changed, 44 insertions(+), 70 deletions(-)
>
Powered by blists - more mailing lists