[Devel] Re: How to draw values for /proc/stat

2011-12-12 Thread Glauber Costa
On 12/12/2011 11:06 AM, Glauber Costa wrote: On 12/12/2011 04:31 AM, KAMEZAWA Hiroyuki wrote: On Sun, 11 Dec 2011 15:50:56 +0100 Glauber Costa wrote: On 12/09/2011 03:55 PM, Glauber Costa wrote: On 12/09/2011 12:03 PM, Peter Zijlstra wrote: On Mon, 2011-12-05 at 07:32 -0200, Glauber Costa wr

[Devel] Re: How to draw values for /proc/stat

2011-12-12 Thread Peter Zijlstra
On Fri, 2011-12-09 at 12:55 -0200, Glauber Costa wrote: > On 12/09/2011 12:03 PM, Peter Zijlstra wrote: > > Namespaces seem to be about limiting visibility, cgroups about > > controlling resources. > > > > The two things are hopelessly disjoint atm, but I believe someone was > > looking at this me

[Devel] Re: How to draw values for /proc/stat

2011-12-12 Thread Glauber Costa
On 12/12/2011 01:33 PM, Peter Zijlstra wrote: On Fri, 2011-12-09 at 12:55 -0200, Glauber Costa wrote: On 12/09/2011 12:03 PM, Peter Zijlstra wrote: Namespaces seem to be about limiting visibility, cgroups about controlling resources. The two things are hopelessly disjoint atm, but I believe

[Devel] Re: [PATCH 1/4] SUNRPC: use passed network namespace context in rpc_parse_scope_id()

2011-12-12 Thread Stanislav Kinsbursky
09.12.2011 00:47, J. Bruce Fields пишет: On Wed, Dec 07, 2011 at 03:20:16PM +0300, Stanislav Kinsbursky wrote: Use incomming network context in rpc_parse_scope_id() instead of hard-coded Changelogs are a little confusing; I might have said "allow rpc_parse_cope_id() caller to pass in network c

[Devel] Re: [PATCH 1/4] SUNRPC: use passed network namespace context in rpc_parse_scope_id()

2011-12-12 Thread J. Bruce Fields
On Mon, Dec 12, 2011 at 08:03:45PM +0400, Stanislav Kinsbursky wrote: > 09.12.2011 00:47, J. Bruce Fields пишет: > >On Wed, Dec 07, 2011 at 03:20:16PM +0300, Stanislav Kinsbursky wrote: > >>Use incomming network context in rpc_parse_scope_id() instead of hard-coded > > > >Changelogs are a little co

[Devel] Re: [PATCH 0/4] SUNRPC: pass network namespace context to sockaddr construction routines

2011-12-12 Thread Stanislav Kinsbursky
09.12.2011 00:46, J. Bruce Fields пишет: On Wed, Dec 07, 2011 at 03:20:07PM +0300, Stanislav Kinsbursky wrote: This is another precursor patch set aimed to remove hard-coded "init_net" reference from SUNRPC sockaddr convertion and construction routines. ACK--all look straightforward. (Only co

[Devel] Re: [PATCH 0/4] SUNRPC: pass network namespace context to sockaddr construction routines

2011-12-12 Thread J. Bruce Fields
On Mon, Dec 12, 2011 at 08:13:24PM +0400, Stanislav Kinsbursky wrote: > 09.12.2011 00:46, J. Bruce Fields пишет: > >On Wed, Dec 07, 2011 at 03:20:07PM +0300, Stanislav Kinsbursky wrote: > >>This is another precursor patch set aimed to remove hard-coded "init_net" > >>reference from SUNRPC sockaddr

[Devel] Re: [PATCH 1/4] SUNRPC: use passed network namespace context in rpc_parse_scope_id()

2011-12-12 Thread Stanislav Kinsbursky
12.12.2011 20:07, J. Bruce Fields пишет: On Mon, Dec 12, 2011 at 08:03:45PM +0400, Stanislav Kinsbursky wrote: 09.12.2011 00:47, J. Bruce Fields пишет: On Wed, Dec 07, 2011 at 03:20:16PM +0300, Stanislav Kinsbursky wrote: Use incomming network context in rpc_parse_scope_id() instead of hard-co

[Devel] Re: [PATCH 0/4] SUNRPC: pass network namespace context to sockaddr construction routines

2011-12-12 Thread Stanislav Kinsbursky
12.12.2011 20:15, J. Bruce Fields пишет: On Mon, Dec 12, 2011 at 08:13:24PM +0400, Stanislav Kinsbursky wrote: 09.12.2011 00:46, J. Bruce Fields пишет: On Wed, Dec 07, 2011 at 03:20:07PM +0300, Stanislav Kinsbursky wrote: This is another precursor patch set aimed to remove hard-coded "init_net

[Devel] [PATCH] SUNRPC: make SUNPRC clients list per network namespace context

2011-12-12 Thread Stanislav Kinsbursky
This patch moves static SUNRPC clients list and it's lock to sunrpc_net structure. Currently this list is used only for debug purposes. But later it will be used also for selecting clients by networks namespace on PipeFS mount/umount events. Per-network namespace lists will this fater and simplier.

[Devel] Re: [GIT PULL 0/3] perf/core fixes and improvements

2011-12-12 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling from: > > git://github.com/acmel/linux.git perf/core > > Regards, > > - Arnaldo > > Andrew Vagin (1): > perf tools: Add ability to synthesize event according to a sample > > Robert Richter (2): > perf scri

[Devel] Re: [PATCH 1/3] nitpick: make simple functions inline

2011-12-12 Thread Tejun Heo
Hello, On Sun, Dec 11, 2011 at 09:44:54PM +0100, Glauber Costa wrote: > On 12/11/2011 07:55 PM, KOSAKI Motohiro wrote: > > Can you please tell us which compiler failed automatic inlining? > > I suspect gcc is enough sane and we don't need this patch. > > Of course we don't need, that's the very d

[Devel] [PATCH 0/2] SYSCTL: export root handling routines

2011-12-12 Thread Stanislav Kinsbursky
These rouitines are required to make SUNRPC sysctl's network-namespace-aware. The following series consists of: --- Stanislav Kinsbursky (2): SYSCTL: root unregister routine introduced SYSCTL: export root register and unregister routines kernel/sysctl.c |9 + 1 files c

[Devel] [PATCH 1/2] SYSCTL: root unregister routine introduced

2011-12-12 Thread Stanislav Kinsbursky
This routine is required for SUNRPC sysctl's, which are going to be allocated, processed and destroyed per network namespace context. IOW, new sysctl root will be registered on network namespace creation and thus have to unregistered before network namespace destruction. Signed-off-by: Stanislav K

[Devel] [PATCH 2/2] SYSCTL: export root register and unregister routines

2011-12-12 Thread Stanislav Kinsbursky
These routines will be used in SUNPRC module and thus have to be exported. Signed-off-by: Stanislav Kinsbursky --- kernel/sysctl.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 21e68c1..0ee5b73 100644 --- a/kernel/sysctl.c +++

[Devel] Re: [PATCH 1/2] SYSCTL: root unregister routine introduced

2011-12-12 Thread Andrew Morton
On Mon, 12 Dec 2011 21:50:00 +0300 Stanislav Kinsbursky wrote: > This routine is required for SUNRPC sysctl's, which are going to be allocated, > processed and destroyed per network namespace context. > IOW, new sysctl root will be registered on network namespace creation and > thus have to unreg

[Devel] Re: [PATCH v9 0/9] Request for inclusion: per-cgroup tcp memory pressure controls

2011-12-12 Thread David Miller
From: Glauber Costa Date: Mon, 12 Dec 2011 11:47:00 +0400 > This series fixes all the few comments raised in the last round, > and seem to have acquired consensus from the memcg side. > > Dave, do you think it is acceptable now from the networking PoV? > In case positive, would you prefer mergin