Consolidate cgroup files creation for resource counters
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Typedefs the read and write functions in cftypeinclude/ | +11 | 0 replies | |
| 2/3 | Introduce the res_counter_populate() functioninclude/ kernel/ | +30 | 3 replies | |
| 3/3 | Use the res_counter_populate in memory controllermm/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Consolidate cgroup files creation for resource counters
Right now we have only one controller in -mm tree - the memory one - and it initializes all its files manually. After I developed the kernel memory one it turned out, that the names of resource counter specific files has changed. In the future, if anything in the resource counters change, we'll have to rewrite all the controllers we will have by that time.
To make all the containers working with the resource counters look similar I propose to create the resource counters specific files in one place.
Any comments/wishes before I send it to Andrew are welcome.
Signed-off-by Pavel Emelyanov <[email protected]>