Thread (11 messages) flat view 11 messages, 4 authors, 2016-08-12

Re: [PATCH net-next v4 2/3] bpf: Add bpf_current_task_under_cgroup helper

From: Tejun Heo <tj@kernel.org>
Date: 2016-08-12 13:21:43

On Thu, Aug 11, 2016 at 09:50:48PM -0700, Sargun Dhillon wrote:
I realize that in_cgroup is more consistent, but under_cgroup makes
far more sense to me. I think it's more intuitive.
So, I think in_cgroup should mean that the object is in that
particular cgroup while under_cgroup in the subhierarchy of that
cgroup.  Let's rename the other subhierarchy test to under too.  I
think that'd be a lot less confusing going forward.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help