ipc: scale msgmni to the number of ipc namespaces
[safe/jmp/linux-2.6] / ipc / util.c
index cb017c7..c27f0e9 100644 (file)
@@ -52,6 +52,9 @@ struct ipc_namespace init_ipc_ns = {
        },
 };
 
        },
 };
 
+atomic_t nr_ipc_ns = ATOMIC_INIT(1);
+
+
 /**
  *     ipc_init        -       initialise IPC subsystem
  *
 /**
  *     ipc_init        -       initialise IPC subsystem
  *