On Mon, 2013-03-25 at 10:13 -0300, Ben Armstrong wrote: > On 03/25/2013 10:02 AM, Ben Hutchings wrote: > > Use a cgroup. > > Is there a compelling reason for me to switch my approach right now, > since I have already solved it another way? If not, I will throw this > on the TODO and investigate post-release. I'm inclined to leave it > as-is, as I need some time to study cgroups and figure out how they > work before attempting such rework.
The reason is, the kernel can make this much easier for you! (That said, I don't know how you're supposed to create a simple cgroup in a shell script. cgexec from cgroup-bin wants to set up resource controllers which is completely unnecessary here.) Ben. -- Ben Hutchings The two most common things in the universe are hydrogen and stupidity.
signature.asc
Description: This is a digitally signed message part