Commit graph

7 commits

Author SHA1 Message Date
Greg Burd
5e196c5de4 Fix compiler warning: enumeration value 'ITEM_INVALID' not handled in switch. 2015-08-22 19:23:34 -04:00
Greg Burd
089236050e Raw, untested merge of illumos-{joyent,omnios} trying to bring in the per-thread cache (ptc) changes. 2015-08-22 15:40:44 -04:00
Gregory Burd
f8c1c0e968 Initial merge from Joyent including the vmem_allocator strategy additions. 2012-03-17 11:32:48 -04:00
Wez Furlong
1028ce923e Sync with the current sources from onnv-gate.
The solaris sources use a non-portable create-thread-suspended flag when
spawning the update thread; I've thrown together a pthreads portable
equivalent.  This has not had any real level of testing.

These changes include a lock around the underlying brk() call; the lack of lock
in earlier revisions of this repo may be the reason that
UMEM_OPTIONS=backend=sbrk was flaky.
2010-06-26 16:02:39 +00:00
Wez Furlong
f90f13368b update copyright info 2008-06-03 03:48:16 +00:00
Wez Furlong
41bc866d58 be more libc friendly when replacing malloc().
Use our own getenv() on glibc platforms, as the glibc implementation calls
malloc() internally.  This allows the use of env vars to enable debugging modes
in the app.
2007-03-18 01:37:02 +00:00
Wez Furlong
d7fe11594f Initial revision 2006-03-10 02:45:59 +00:00