OpenVZ Forum

Home » Mailing lists » Devel » Re: Loadable cgroup subsystems
Re: Loadable cgroup subsystems [message #29182] Tue, 08 April 2008 09:41 Go to previous message
Paul Menage is currently offline  Paul Menage
Messages: 642
Registered: September 2006
Senior Member
On Tue, Apr 8, 2008 at 2:40 AM, Nikanth Karthikesan <> wrote:
>  >
>  > I'd rather not add support for this without a strong case of a
>  > subsystem that really needs to be dynamically loaded.
>  There were some band-width control patches based on cfq + cgroups, which
>  I guess will mandate cfq to be built-in?

Yes, or else have built-in stubs for the cgroup subsystem that load
cfq and the code that uses cfq the first time someone tries to mount
that subsystem.

Actually, it probably wouldn't be too hard to have cgroups do that
automatically - support the concept of a stub cgroup that was known
about at compile time but wasn't active until its first bind, and have
cgroups dynamically load the relevant modules when the user tried to
mount it.

Dynamically loading subsystems that aren't even known about at compile
time would be probably a bit uglier.

Containers mailing list
Read Message
Read Message
Previous Topic: [RFC][PATCH] CGroups: Include hierarchy ids in /proc/<pid>/cgroup
Next Topic: [PATCH][SCTP]: IPv4 vs IPv6 addresses mess in sctp_inet[6]addr_event.
Goto Forum:

Current Time: Sun Jul 21 09:32:32 GMT 2024

Total time taken to generate the page: 0.02353 seconds