[Devel] Re: [RFC] cgroup basic comounting

2011-12-19 Thread Glauber Costa
On 12/19/2011 11:58 AM, Li Zefan wrote: Glauber Costa wrote: Turns out that most of the infrastructure we need to put two controllers in the same hierarchy is by far already into place. All we need to do is not failing when we specify two of them. You don't need to change anything to mount wi

[Devel] Re: [PATCH 01/11] SYSCTL: export root and set handling routines

2011-12-19 Thread Stanislav Kinsbursky
18.12.2011 02:25, Eric W. Biederman пишет: Stanislav Kinsbursky writes: These routines are required for making SUNRPC sysctl's per network namespace context. Why does sunrpc require it's own sysctl root? You should be able to use the generic per network namespace root and call it good. Wha

[Devel] Re: [RFC] cgroup basic comounting

2011-12-19 Thread Li Zefan
Glauber Costa wrote: > Turns out that most of the infrastructure we need to put two controllers in > the > same hierarchy is by far already into place. All we need to do is not failing > when we specify two of them. > You don't need to change anything to mount with 2 cgroup subsystems:

[Devel] Re: [PATCH 01/11] SYSCTL: export root and set handling routines

2011-12-19 Thread Eric W. Biederman
Stanislav Kinsbursky writes: > 18.12.2011 02:25, Eric W. Biederman пишет: >> Stanislav Kinsbursky writes: >> >>> These routines are required for making SUNRPC sysctl's per network namespace >>> context. >> >> Why does sunrpc require it's own sysctl root? You should be able to use >> the generic

[Devel] Re: [PATCH 01/11] SYSCTL: export root and set handling routines

2011-12-19 Thread Stanislav Kinsbursky
19.12.2011 14:15, Eric W. Biederman пишет: Stanislav Kinsbursky writes: 18.12.2011 02:25, Eric W. Biederman пишет: Stanislav Kinsbursky writes: These routines are required for making SUNRPC sysctl's per network namespace context. Why does sunrpc require it's own sysctl root? You should

[Devel] Re: [PATCH 01/11] SYSCTL: export root and set handling routines

2011-12-19 Thread Stanislav Kinsbursky
19.12.2011 20:37, Eric W. Biederman пишет: Stanislav Kinsbursky writes: Doing that independently of the rest of the sysctls is pretty horrible and confusing to users. What I am planning might suit your needs and if not we need to talk some more about how to get the vfs to do something reasona

[Devel] Re: [PATCH 01/11] SYSCTL: export root and set handling routines

2011-12-19 Thread Eric W. Biederman
Stanislav Kinsbursky writes: >> In practice what this means is that register_net_sysctl_table should >> work for any sysctl file anywhere under /proc/sys. I think >> register_net_sysctl_table is the right solution for your problem. The >> only possible caveat I can think of is you might hit Al'

[Devel] Re: [PATCH 3/6] perf: add ability to record event period

2011-12-19 Thread Arun Sharma
Acked-by: Arun Sharma Need PERF_SAMPLE_PERIOD for the sleep profiling kernel patch I posted earlier. -Arun On 12/15/11 11:13 PM, Andrew Vagin wrote: Hi Arnaldo, Could you review and commit this patch. It's quite common functionality, which allow to get events more effectively and to avoi

[Devel] Re: [PATCH 3/6] perf: add ability to record event period

2011-12-19 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 16, 2011 at 11:13:07AM +0400, Andrew Vagin escreveu: > Hi Arnaldo, > > Could you review and commit this patch. It's quite common > functionality, which allow to get events more effectively and to > avoid losing events. > > All other patches may be postponed, because Arun Sharma wants

[Devel] Re: [PATCH 3/6] perf: add ability to record event period

2011-12-19 Thread David Ahern
On 12/19/2011 01:58 PM, Arnaldo Carvalho de Melo wrote: > I get that Arun is in agreement, everything seems OK, but we need to do > a better job on describing why we add code, the context we have now from > all these discussions will be mostly lost, say, 5 years from now when we > try to figure out