diff options
Diffstat (limited to 'usr/src/lib/libumem/common/envvar.c')
| -rw-r--r-- | usr/src/lib/libumem/common/envvar.c | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/usr/src/lib/libumem/common/envvar.c b/usr/src/lib/libumem/common/envvar.c index fc3d490a01..2fdf7824c3 100644 --- a/usr/src/lib/libumem/common/envvar.c +++ b/usr/src/lib/libumem/common/envvar.c @@ -25,6 +25,10 @@   * Copyright 2012 Joyent, Inc. All rights reserved.   */ +/* + * Copyright (c) 2012 Joyent, Inc. All rights reserved. + */ +  #include <ctype.h>  #include <errno.h>  #include <limits.h> @@ -151,7 +155,10 @@ static umem_env_item_t umem_options_items[] = {  		NULL, 0, NULL,	&vmem_sbrk_pagesize  	},  #endif - +	{ "perthread_cache",	"Evolving",	ITEM_SIZE, +		"Size (in bytes) of per-thread allocation cache", +		NULL, 0, NULL, &umem_ptc_size +	},  	{ NULL, "-- end of UMEM_OPTIONS --",	ITEM_INVALID }  }; | 
