cgroups: Task counter subsystem
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest11 patches 15 repliesIn review
- v412 patches 13 repliesSuperseded
- v38 patches 35 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 7 patches | 14 replies | Superseded |
Changes in v5 from the cover letter
- commented res_counter_common_ancestor (patch 6)
- commented res_counter_inherit (patch 2)
- merged documentation and task counter subsystem patch (patch 9)
- rename cgroup_task_counter_res in cgroup_task_res_counter (patch 9)
- more comments/ fix comments in cgroup_task_counter.c (patch 9)
- document res_counter_charge return value (patch 8)
- document res_counter_charge_until (patch 5)
- more comment in kconfig help (patch 9)
- fix various checkpatch reported issues
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | cgroups: Add res_counter_write_u64() APIinclude/ kernel/ | +21 | 0 replies | |
| 2/11 | cgroups: New resource counter inheritance APIinclude/ kernel/ | +20 | 0 replies | |
| 3/11 | cgroups: Add previous cgroup in can_attach_task/attach_task callbacksDocumentation/ block/ include/ +5 more | +36 | 0 replies | |
| 4/11 | cgroups: New cancel_attach_task subsystem callbackDocumentation/ include/ kernel/ | +29 | 0 replies | |
| 5/11 | cgroups: Ability to stop res charge propagation on bounded ancestorDocumentation/ include/ kernel/ | +42 | 0 replies | |
| 6/11 | cgroups: Add res counter common ancestor searchinginclude/ kernel/ | +25 | 4 replies | |
| 7/11 | res_counter: Allow charge failure pointer to be nullkernel/ | +4 | 0 replies | |
| 8/11 | cgroups: Pull up res counter charge failure interpretation to callerDocumentation/ kernel/ | +3 | 0 replies | |
| 9/11 | cgroups: Add a task counter subsystemDocumentation/ include/ include/ +4 more | +394 | 4 replies | |
| 10/11 | cgroups: Allow subsystems to cancel a forkinclude/ kernel/ kernel/ +2 more | +38 | 0 replies | |
| 11/11 | cgroups: Convert task counter to use the subsys fork callbackinclude/ kernel/ kernel/ | +3 | 0 replies |
Reviews trailers per patch
5 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Paul Menage |
|---|---|
| 1/11 | A-b |
| 2/11 | |
| 3/11 | A-b |
| 4/11 | A-b |
| 5/11 | A-b |
| 6/11 | A-b |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11 v5] cgroups: Task counter subsystem
No functional changes. Only documentation and comments added. Checkpatch.pl fixes, etc...
This mostly addresses Andrew's reviews on v4.
Changes in v5:
- commented res_counter_common_ancestor (patch 6)
- commented res_counter_inherit (patch 2)
- merged documentation and task counter subsystem patch (patch 9)
- rename cgroup_task_counter_res in cgroup_task_res_counter (patch 9)
- more comments/ fix comments in cgroup_task_counter.c (patch 9)
- document res_counter_charge return value (patch 8)
- document res_counter_charge_until (patch 5)
- more comment in kconfig help (patch 9)
- fix various checkpatch reported issues
Frederic Weisbecker (11):
cgroups: Add res_counter_write_u64() API
cgroups: New resource counter inheritance API
cgroups: Add previous cgroup in can_attach_task/attach_task callbacks
cgroups: New cancel_attach_task subsystem callback
cgroups: Ability to stop res charge propagation on bounded ancestor
cgroups: Add res counter common ancestor searching
res_counter: Allow charge failure pointer to be null
cgroups: Pull up res counter charge failure interpretation to caller
cgroups: Add a task counter subsystem
cgroups: Allow subsystems to cancel a fork
cgroups: Convert task counter to use the subsys fork callback
Documentation/cgroups/cgroups.txt | 13 ++- Documentation/cgroups/resource_counter.txt | 20 +++- Documentation/cgroups/task_counter.txt | 126 +++++++++++++++ block/blk-cgroup.c | 12 +- include/linux/cgroup.h | 22 ++- include/linux/cgroup_subsys.h | 8 + include/linux/res_counter.h | 27 +++- init/Kconfig | 9 + kernel/Makefile | 1 + kernel/cgroup.c | 58 ++++++-- kernel/cgroup_freezer.c | 9 +- kernel/cgroup_task_counter.c | 239 ++++++++++++++++++++++++++++ kernel/cpuset.c | 6 +- kernel/events/core.c | 5 +- kernel/exit.c | 2 +- kernel/fork.c | 7 +- kernel/res_counter.c | 86 +++++++++-- kernel/sched.c | 6 +- 18 files changed, 601 insertions(+), 55 deletions(-) create mode 100644 Documentation/cgroups/task_counter.txt create mode 100644 kernel/cgroup_task_counter.c
Signature · 1 line
1.7.5.4