]> err.no Git - linux-2.6/commit
add a kmem_cache for nsproxy objects
authorCedric Le Goater <clg@fr.ibm.com>
Mon, 16 Jul 2007 06:41:07 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:47 +0000 (09:05 -0700)
commit98c0d07cbf2a8582a0341b05ad564247e608f6f9
tree9c72ff1a024f472a9186cbb62f244e1e5829e639
parent467e9f4b5086a60a5cb2e032ccaf4a31abadc4c2
add a kmem_cache for nsproxy objects

It should improve performance in some scenarii where a lot of
these nsproxy objects are created by unsharing namespaces. This is
a typical use of virtual servers that are being created or entered.

This is also a good tool to find leaks and gather statistics on
namespace usage.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Pavel Emelianov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/nsproxy.c