summaryrefslogtreecommitdiffstats
path: root/ipc/util.h
diff options
context:
space:
mode:
authorSerge Hallyn2006-10-02 11:18:18 +0200
committerLinus Torvalds2006-10-02 16:57:22 +0200
commitc0b2fc316599d6cd875b6b8cafa67f03b9512b4d (patch)
tree6e03101b6692dfe3284de05a5f4fd5495d513ab3 /ipc/util.h
parent[PATCH] namespaces: utsname: implement CLONE_NEWUTS flag (diff)
downloadkernel-qcow2-linux-c0b2fc316599d6cd875b6b8cafa67f03b9512b4d.tar.gz
kernel-qcow2-linux-c0b2fc316599d6cd875b6b8cafa67f03b9512b4d.tar.xz
kernel-qcow2-linux-c0b2fc316599d6cd875b6b8cafa67f03b9512b4d.zip
[PATCH] uts: copy nsproxy only when needed
The nsproxy was being copied in unshare() when anything was being unshared, even if it was something not referenced from nsproxy. This should end up in some cases with far more memory usage than necessary. Signed-off-by: Serge Hallyn <serue@us.ibm.com> Cc: Kirill Korotaev <dev@openvz.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Herbert Poetzl <herbert@13thfloor.at> Cc: Andrey Savochkin <saw@sw.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions