[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>
This commit is contained in:
@ -9,7 +9,6 @@ struct namespace {
|
||||
atomic_t count;
|
||||
struct vfsmount * root;
|
||||
struct list_head list;
|
||||
struct rw_semaphore sem;
|
||||
wait_queue_head_t poll;
|
||||
int event;
|
||||
};
|
||||
|
Reference in New Issue
Block a user