sched: Return NULL when entity isn't a task
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
fix 'struct rt_rq' no member named 'highest_prio'.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sched/fair: Return NULL when entity isn't a task in task_of()kernel/ kernel/ | +27 | 2 replies | |
| 2/2 | sched/rt: Return NULL when rt entity isn't a task in rt_task_of()kernel/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] sched: Return NULL when entity isn't a task
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(-)
Signature · 1 line
2.25.1