cgroup: substitude per-cgroup id with per-subsys id
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | cgroup: introduce helper css_to_id()include/ kernel/ | +12 | 1 reply | |
| 2/4 | mm/memcontrol.c: use accessor to get id from cssmm/ | +4 | 4 replies | |
| 3/4 | netprio_cgroup: use accessor to get id from cssnet/ | +4 | 2 replies | |
| 4/4 | cgroup: convert from per-cgroup id to per-subsys idinclude/ kernel/ | +55 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Michal Hocko | Neil Horman |
|---|---|---|
| 1/4 | ||
| 2/4 | A-b | |
| 3/4 | A-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] cgroup: substitude per-cgroup id with per-subsys id
Currently, cgrp->id is only used to look up css's. As cgroup and css's lifetimes is now decoupled, it should be made per-subsystem and moved to css->css_id so that lookups are successful until the target css is released.
Patch 1-3 are prep patches.
Patch 4 do the coverting job.
Thanks!
Jianyu Zhan (4):
cgroup: introduce helper css_to_id() mm/memcontrol.c: use accessor to get id from css
netprio_cgroup: use accessor to get id from css
cgroup: convert from per-cgroup id to per-subsys id
include/linux/cgroup.h | 27 ++++++------- kernel/cgroup.c | 96 +++++++++++++++++++++++++---------------------- mm/memcontrol.c | 8 ++-- net/core/netprio_cgroup.c | 8 ++-- 4 files changed, 74 insertions(+), 65 deletions(-)
Signature · 1 line
2.0.0-rc0