Re: [PATCH v11 7/7] cgroup: implement the PIDs subsystem

2015-06-05 Thread Aleksa Sarai
> err = pids_try_charge(pids, 1); > if (err) > goto out_fail; Disregard this and the revert code. This was from me testing making attach obey the set limit (which isn't going to in to the patchset). -- Aleksa Sarai (cyphar) www.cyphar.com --

Re: [PATCH v11 7/7] cgroup: implement the PIDs subsystem

2015-06-05 Thread Aleksa Sarai
Hello Tejun, Is it safe for us to task_get_css() every task in the tset in ->can_attach() and then put_css() in ->attach() and ->cancel_attach()? In other words: if we have a ref to a task's css, are we guaranteed that the task_css() will return the same thing every time? Here's what I'm currently

Re: [PATCH v11 7/7] cgroup: implement the PIDs subsystem

2015-05-18 Thread Aleksa Sarai
I just realised I didn't remove a few incorrect comments and some of the other patches need a small amount of fixing up. I'll send a corrected patchset in an hour or so. -- Aleksa Sarai (cyphar) www.cyphar.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body