aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/namespace.h
diff options
context:
space:
mode:
authorRam Pai <linuxram@us.ibm.com>2005-11-07 17:17:51 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 21:18:10 -0500
commit390c684367de37e1c2f9005cf92f7a746c69fdd3 (patch)
tree23cf8783db5fdec3717c79f989c6872955679036 /include/linux/namespace.h
parent36341f64569b0c4572478237ec5ed318f0762510 (diff)
[PATCH] making namespace_sem global
This removes the per-namespace semaphore in favor of a global semaphore. This can have an effect on namespace scalability. Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/namespace.h')
-rw-r--r--include/linux/namespace.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/namespace.h b/include/linux/namespace.h
index 6f0f25d64c38..6731977c4c13 100644
--- a/include/linux/namespace.h
+++ b/include/linux/namespace.h
@@ -9,7 +9,6 @@ struct namespace {
9 atomic_t count; 9 atomic_t count;
10 struct vfsmount * root; 10 struct vfsmount * root;
11 struct list_head list; 11 struct list_head list;
12 struct rw_semaphore sem;
13 wait_queue_head_t poll; 12 wait_queue_head_t poll;
14 int event; 13 int event;
15}; 14};