On Wed, Dec 29, 2010 at 9:54 AM, Volker Armin Hemmann <volkerar...@googlemail.com> wrote: > > On Monday 27 December 2010 19:37:29 Mark David Dumlao wrote: > > I want to do this: > > http://blog.internetnews.com/skerner/2010/11/forget-200-lines-red-hat-speed. > > html > > > > in userspace, but automate it at boot time. it requires that I create and > > mount the cgroup subsystem in sysfs and sounds a lot like something that I'd > > do in sysctl for /proc/sys, but for sysfs rather than procfs. > > > > The only thing that comes to mind is to append to the local init script, but > > it's so close to what sysctl does that I feel like someone's probably > > written some tool for it. Is there one? > > why? > > why not just patch the kernel? or wait for 2.6.37? Why trying the easily > broken userspace approach?
I disagree. I think userspace is the best place to do this, not kernelspace, especially as I'm considering customizing the cgroup behavior further than that. I'm not sure why I'd call the userspace approach broken. It's different, not broken. > > btw - patch or userspace - what happens with apps not started from a shell? > Well according to the wiki article posted uses shell, and it doesn't affect non-shell behavior. -- This email is: [ ] actionable [ ] fyi [x] social Response needed: [ ] yes [x] up to you [ ] no Time-sensitive: [ ] immediate [ ] soon [x] none