Re: [Devel] Re: [PATCH v5 00/10] per-cgroup tcp memory pressure

2011-11-23 Thread Glauber Costa
On 11/22/2011 12:07 AM, KAMEZAWA Hiroyuki wrote: On Fri, 18 Nov 2011 17:39:03 -0200 Glauber Costa wrote: On 11/17/2011 07:35 PM, David Miller wrote: TCP specific stuff in mm/memcontrol.c, at best that's not nice at all. How crucial is that? Thing is that as far as I am concerned, all the me

[Devel] [PATCH 0/6] SUNRPC: make RPC clients use network-namespace-aware PipeFS routines

2011-11-23 Thread Stanislav Kinsbursky
This patch set was created in context of clone of git branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git. tag: v3.1 This patch set depends on previous patch sets titled: 1) "SUNRPC: initial part of making pipefs work in net ns" 2) "SUNPRC: cleanup PipeFS for network-namespace-aware users

[Devel] [PATCH 1/6] SUNRPC: handle RPC client pipefs dentries by network namespace aware routines

2011-11-23 Thread Stanislav Kinsbursky
This patch makes RPC clients PipeFs dentries allocations in it's owner network namespace context. RPC client pipefs dentries creation logic has been changed: 1) Pipefs dentries creation by sb was moved to separated function, which will be used for handling PipeFS mount notification. 2) Initial valu

[Devel] [PATCH 2/6] SUNRPC: handle GSS AUTH pipes by network namespace aware routines

2011-11-23 Thread Stanislav Kinsbursky
This patch makes RPC GSS PipeFs pipes allocated in it's RPC client owner network namespace context. Pipes creation and destruction now done in separated functions, which takes care about PipeFS superblock locking. Signed-off-by: Stanislav Kinsbursky --- net/sunrpc/auth_gss/auth_gss.c | 95 +++

[Devel] [PATCH 5/6] SUNRPC: remove RPC pipefs mount point manipulations from RPC clients code

2011-11-23 Thread Stanislav Kinsbursky
Now, with RPC pipefs mount notifications handling in RPC clients, we can remove mount point creation and destruction. RPC clients dentries will be created on PipeFS mount event and removed on umount event. Signed-off-by: Stanislav Kinsbursky --- net/sunrpc/clnt.c | 15 +++ 1 files

[Devel] [PATCH 6/6] SUNRPC: remove RPC PipeFS mount point reference from RPC client

2011-11-23 Thread Stanislav Kinsbursky
This is a cleanup patch. We don't need this reference anymore. Signed-off-by: Stanislav Kinsbursky --- fs/nfs/idmap.c |4 ++-- include/linux/sunrpc/clnt.h|2 +- net/sunrpc/auth_gss/auth_gss.c |8 net/sunrpc/clnt.c | 21 ++--

[Devel] [PATCH 4/6] SUNRPC: remove RPC client pipefs dentries after unregister

2011-11-23 Thread Stanislav Kinsbursky
Without this patch we have races: rpc_fill_super rpc_free_client rpc_pipefs_event(MOUNT) rpc_remove_pipedir spin_lock(&rpc_client_lock); rpc_setup_pipedir_sb spin_unlock(&rpc_client_lock); spin_lock(&rpc_client_lock);

[Devel] [PATCH 3/6] SUNRPC: subscribe RPC clients to pipefs notifications

2011-11-23 Thread Stanislav Kinsbursky
This patch subscribes RPC clients to RPC pipefs notifications. RPC clients notifier block is registering with pipefs initialization during SUNRPC module init. This notifier callback is responsible for RPC client PipeFS directory and GSS pipes creation. For pipes creation and destruction two additio

[Devel] Re: [PATCH 0/6] SUNRPC: make RPC clients use network-namespace-aware PipeFS routines

2011-11-23 Thread J. Bruce Fields
On Wed, Nov 23, 2011 at 02:51:10PM +0300, Stanislav Kinsbursky wrote: > This patch set was created in context of clone of git > branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git. > tag: v3.1 > > This patch set depends on previous patch sets titled: > 1) "SUNRPC: initial part of making p

[Devel] Re: [PATCH 0/6] SUNRPC: make RPC clients use network-namespace-aware PipeFS routines

2011-11-23 Thread J. Bruce Fields
On Wed, Nov 23, 2011 at 02:51:10PM +0300, Stanislav Kinsbursky wrote: > This patch set was created in context of clone of git > branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git. > tag: v3.1 > > This patch set depends on previous patch sets titled: > 1) "SUNRPC: initial part of making p

[Devel] Re: [PATCH 0/6] SUNRPC: make RPC clients use network-namespace-aware PipeFS routines

2011-11-23 Thread Stanislav Kinsbursky
23.11.2011 20:27, J. Bruce Fields пишет: On Wed, Nov 23, 2011 at 02:51:10PM +0300, Stanislav Kinsbursky wrote: This patch set was created in context of clone of git branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git. tag: v3.1 This patch set depends on previous patch sets titled: 1) "

[Devel] Re: [PATCH 0/6] SUNRPC: make RPC clients use network-namespace-aware PipeFS routines

2011-11-23 Thread Stanislav Kinsbursky
23.11.2011 20:36, J. Bruce Fields пишет: On Wed, Nov 23, 2011 at 02:51:10PM +0300, Stanislav Kinsbursky wrote: This patch set was created in context of clone of git branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git. tag: v3.1 This patch set depends on previous patch sets titled: 1) "