Quoting atp (andrew.phill...@lmax.com):
> Hi,
> 
> Its not as simple as it seems. What you're asking for is to selectively
> hide or modify what gets shown to container processes by the /proc file
> system. In other words making /proc container aware. /proc is already
> partially there - with the pid namespace, but not for ram and cpus. 
> 
> We've tried a couple of approaches - FUSE based overlay file system etc
> - and at the last lxc dev call the way forward was proposed as being an
> in kernel file system integrated with the cgroups subsystem, bind
> mounted to the containers /proc.
> 
> At the moment, the containers I'm running adopt a far more hacky
> solution to this by patching the /proc filesystem itself. 
> 
> Patch for cpu limiting proc stat is at;
> http://www.tinola.com/lxc/

Sentiments in kernel community tend to change profoundly over any
3 year period.  I think it's worth floating patches like your proc
patch on lkml for review.

-serge

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to