summaryrefslogtreecommitdiff
path: root/usr/src/cmd/svc/configd/configd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/svc/configd/configd.c')
-rw-r--r--usr/src/cmd/svc/configd/configd.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/usr/src/cmd/svc/configd/configd.c b/usr/src/cmd/svc/configd/configd.c
index 563d097310..cdff0ef574 100644
--- a/usr/src/cmd/svc/configd/configd.c
+++ b/usr/src/cmd/svc/configd/configd.c
@@ -23,7 +23,9 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
+/*
+ * Copyright (c) 2012, Joyent, Inc. All rights reserved.
+ */
#include <assert.h>
#include <door.h>
@@ -109,6 +111,18 @@ int max_repository_backups = 4;
#define CONFIGD_MAX_FDS 262144
+const char *
+_umem_options_init(void)
+{
+ /*
+ * Like svc.startd, we set our UMEM_OPTIONS to indicate that we do not
+ * wish to have per-CPU magazines to reduce our memory footprint. And
+ * as with svc.startd, if svc.configd is so MT-hot that this becomes a
+ * scalability problem, there are deeper issues...
+ */
+ return ("nomagazines"); /* UMEM_OPTIONS setting */
+}
+
/*
* Thanks, Mike
*/