[Devel] Re: Two newbie questions on containers

Nathan Lynch ntl at pobox.com
Tue Jan 11 16:02:26 PST 2011


Hi Timur,

On Tue, 2011-01-11 at 16:08 -0600, Timur Tabi wrote:
> I'm in the process of learning about Linux containers, including cgroups, and
> the learning curve seems pretty steep to me.  So I have a couple newbie
> questions for all of you.  Any detailed answered are greatly appreciated.
> 
> 1) For the PowerPC architecture, is there anything that is "missing"?  I can't
> really tell how much of cgroups and lxc is architecture-specific, and there
> appears to be PowerPC support for both already.  I'd like to know if this
> another one of those areas, like KVM, where x86 is fully implemented and PowerPC
> support is lagging.

cgroups and the lxc utilities work just as well on powerpc as they do on
x86; there's nothing arch-specific about them.


> 2) Given a random device driver, like a driver for a serial port, is there an
> opportunity for the driver to be enhanced to support cgroups or lxc?  Doing a
> simple search of the kernel source code, I don't really see any drivers making
> calls into any cgroup code, so I don't understand how to restrict device access
> to a specific container or cgroup.

Not totally sure about this myself, but have you read
Documentation/cgroups/devices.txt in the kernel source yet?


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list