Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1198852
| From | Johannes Weiner <hannes@cmpxchg.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/4] cgroup: define controller file conventions |
| Date | 2015-08-03 15:40 +0200 |
| Message-ID | <pTo89-4v1-7@gated-at.bofh.it> (permalink) |
| References | <pT83o-6i0-3@gated-at.bofh.it> <pT83o-6i0-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Aug 02, 2015 at 04:23:42PM -0400, Tejun Heo wrote: > Traditionally, each cgroup controller implemented whatever interface > it wanted leading to interfaces which are widely inconsistent. > Examining the requirements of the controllers readily yield that there > are only a few control schemes shared among all. > > Two major controllers already had to implement new interface for the > unified hierarchy due to significant structural changes. Let's take > the chance to establish common conventions throughout all controllers. > > This patch defines CGROUP_WEIGHT_MIN/DFL/MAX to be used on all weight > based control knobs and documents the conventions that controllers > should follow on the unified hierarchy. Except for io.weight knob, > all existing unified hierarchy knobs are already compliant. A > follow-up patch will update io.weight. > > Signed-off-by: Tejun Heo <tj@kernel.org> > Cc: Li Zefan <lizefan@huawei.com> > Cc: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/4] cgroup: define controller file conventions Tejun Heo <tj@kernel.org> - 2015-08-02 22:30 +0200 Re: [PATCH 2/4] cgroup: define controller file conventions Johannes Weiner <hannes@cmpxchg.org> - 2015-08-03 15:40 +0200
csiph-web