Skip to content

devcg: introduce proper hierarchy support

Aristeu Rozanski cgroups lkml 5 versions – Applied

Status from this message: Applied to cgroup/for-3.10.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 5 repliesApplied
  2. v49 patches 17 repliesSuperseded
  3. v39 patches 13 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches4 repliesSuperseded
v15 patches17 repliesSuperseded

Changes in v5 from the cover letter

- reworked the patchset to not propagate behavior changes

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4devcg: expand may_access() logicsecurity/device_cgroup.c+12 -90 replies
2/4devcg: prepare may_access() for hierarchy supportsecurity/device_cgroup.c+31 -180 replies
3/4devcg: use css_online and css_offlinesecurity/device_cgroup.c+42 -170 replies
4/4devcg: propagate local changes down the hierarchyDocumentation/cgroups/devices.txt security/device_cgroup.c+199 -103 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchTejun HeoSerge Hallyn
1/4A-b A-b
2/4A-b A-b
3/4A-b A-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] devcg: introduce proper hierarchy support

This patchset implements device cgroup hierarchy. Exceptions will be propagated down in the tree and local preferences will be re-evaluated everytime a change in its parent occours, reapplying them if it's still possible.

git://github.com/aristeu/linux-2.6.git
branch: devcg_hierarchy_review

v5:
- reworked the patchset to not propagate behavior changes

v4:
- minor fixes pointed by Tejun

v3:
- update documentation
- move css_online/css_offline changes to a new patch
- use cgroup_for_each_descendant_pre() instead of own descendant walk
- move exception_copy rework to a separared patch
- move exception_clean rework to a separated patch
- new patch to just move dev_exception_rm() before dev_exception_add() as requested by Tejun.
- updated patch description for may_access() changes
- new patch to expand the may_access() logic before changing it
- fixed argument description order in may_access()

v2:
- rebase on top "device_cgroup: don't grab mutex in rcu callback"
- in case parent changes behavior or exceptions and the local exceptions won't apply anymore, remove them instead of keeping them around.

Signature · 1 line
Aristeu