Skip to content

CGroup API files: Various cleanup to CGroup control files

[email protected] containers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10CGroup API files: Rename read/write_uint methods to read_write_u64include/linux/cgroup.h kernel/cgroup.c kernel/cgroup_debug.c +1 more+33 -330 replies
2/10CGroup API files: Add res_counter_read_u64()include/linux/res_counter.h kernel/res_counter.c+9 -10 replies
3/10CGroup API files: Use read_u64 in memory controllermm/memcontrol.c+6 -90 replies
4/10CGroup API files: Strip all trailing whitespace in cgroup_write_u64kernel/cgroup.c+1 -40 replies
5/10CGroup API files: Update cpusets to use cgroup structured file APIkernel/cpuset.c+81 -744 replies
6/10CGroup API files: Add cgroup map data typeinclude/linux/cgroup.h kernel/cgroup.c+71 -10 replies
7/10CGroup API files: Use cgroup map for memcontrol stats filemm/memcontrol.c+6 -240 replies
8/10CGroup API files: Drop mem_cgroup_force_empty()mm/memcontrol.c+0 -140 replies
9/10CGroup API files: Move "releasable" to cgroup_debug subsysteminclude/linux/cgroup.h kernel/cgroup.c kernel/cgroup_debug.c+22 -240 replies
10/10CGroup API files: Make CGROUP_DEBUG default to offinit/Kconfig+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] CGroup API files: Various cleanup to CGroup control files

This patchset is a roll-up of the non-contraversial items of the various patches that I've sent out recently, fixed according to the feedback received.

In summary they are:

- general rename of read_uint/write_uint to read_u64/write_u64

- use these methods for cpusets and memory controller files

- add a read_map cgroup file method, and use it in the memory controller

- move the "releasable" control file to the debug subsystem

- make the debug subsystem config option default to "n"

The only user-visible changes are the movement of the "releasable" file and the fact that some write_u64()-based control files are now more forgiving of additional whitespace at the end of their input.

--