Thread (9 messages) 9 messages, 3 authors, 2021-09-23

Re: [PATCH v4 0/3] cgroup: New misc cgroup controller

From: Tejun Heo <tj@kernel.org>
Date: 2021-09-23 16:01:15
Also in: kvm, linux-doc, lkml

On Thu, Sep 23, 2021 at 11:38:49PM +0800, Xingyou Chen wrote:
quoted
Misc controller is a generic controller which can be used by these
kinds of resources.
Will we make this dynamic? Let resources be registered via something
like misc_cg_res_{register,unregister}, at compile time or runtime,
instead of hard coded into misc_res_name/misc_res_capacity etc.

There are needs as noted in drmcg session earlier this year. We may
make misc cgroup stable, and let device drivers to register their
own resources.
Not too likely given that the need for one-off resources for a specific
driver seems to indicate lack of proper abstraction and control mechanism
more than anything else. Even for cases where there are genuine needs for
per-hardware knobs, I think it's prudent to enforce a review cycle which
involves people who aren't directly working on the specific driver.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help