sched: Shrink include/linux/sched.h
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | sched: Remove some dummpy functionsinclude/ | +0 | 0 replies | |
| 2/9 | sched: Remove test_sd_parent()include/ | +0 | 0 replies | |
| 3/9 | sched: Move SCHED_LOAD_SHIFT macros to kernel/sched/sched.hinclude/ kernel/ | +25 | 0 replies | |
| 4/9 | sched: Move struct sched_group to kernel/sched/sched.hinclude/ kernel/ | +58 | 0 replies | |
| 5/9 | sched: Move wake flags to kernel/sched/sched.hinclude/ kernel/ | +7 | 0 replies | |
| 6/9 | sched: Move struct sched_class to kernel/sched/sched.hinclude/ kernel/ | +55 | 0 replies | |
| 7/9 | sched: Make default_scale_freq_power() staticinclude/ kernel/ | +3 | 0 replies | |
| 8/9 | sched: Move group scheduling functions out of include/linux/sched.hinclude/ kernel/ kernel/ | +17 | 0 replies | |
| 9/9 | sched: Remove double declaration of root_task_groupkernel/ kernel/ | +4 | 0 replies |
Reviews trailers per patch
None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Lai Jiangshan |
|---|---|
| Series | A-b |
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] sched: Shrink include/linux/sched.h
While working of a cgroup patch which also touched include/linux/sched.h, I found some function/macro/structure declarations can be moved to kernel/sched/sched.h, and some can even be total removed, so here's the patchset.
The result is a reduction of ~200 LOC from include/linux/sched.h.
0001-sched-Remove-some-dummpy-functions.patch 0002-sched-Remove-test_sd_parent.patch 0003-sched-Move-SCHED_LOAD_SHIFT-macros-to-kernel-sched-s.patch 0004-sched-Move-struct-sched_group-to-kernel-sched-sched..patch 0005-sched-Move-wake-flags-to-kernel-sched-sched.h.patch 0006-sched-Move-struct-sched_class-to-kernel-sched-sched..patch 0007-sched-Make-default_scale_freq_power-static.patch 0008-sched-Move-group-scheduling-functions-out-of-include.patch 0009-sched-Remove-double-declaration-of-root_task_group.patch
--
include/linux/sched.h | 194 +------------------------------------------------- kernel/sched/core.c | 14 ++-- kernel/sched/fair.c | 6 +- kernel/sched/sched.h | 159 +++++++++++++++++++++++++++++++++++++++-- 4 files changed, 168 insertions(+), 205 deletions(-)