summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-27I was working in the wrong checkout in my last commit...HEADomniti-svn-trunkmasterwez1-1/+3
revert it, and make the constructor-ness conditional on not being "standalone". git-svn-id: https://labs.omniti.com/portableumem/trunk@61 1665872d-e22b-0410-9e5d-a57ad4215e6d
2010-06-26Change the constructor attribute to putting this function in thewez1-1/+2
.init section. The constructor is called too late, and clobbers state, leading to heap corruption later. git-svn-id: https://labs.omniti.com/portableumem/trunk@60 1665872d-e22b-0410-9e5d-a57ad4215e6d
2010-06-26Sync with the current sources from onnv-gate.wez13-188/+465
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. git-svn-id: https://labs.omniti.com/portableumem/trunk@59 1665872d-e22b-0410-9e5d-a57ad4215e6d
2010-06-26move umem_startup constructor to the umem .so itself, rather thanwez5-25/+43
the malloc replacement. Rename ec_atomic to umem_atomic. Add a posix_memalign function. -ldl isn't universal; make a configure check for it. git-svn-id: https://labs.omniti.com/portableumem/trunk@58 1665872d-e22b-0410-9e5d-a57ad4215e6d
2010-04-30Apparently, the glibc malloc hooks are now deprecated due to thread safetywez1-40/+0
issues, so we simply eliminate the glibc specific code from our malloc preload to resolve this issue. git-svn-id: https://labs.omniti.com/portableumem/trunk@57 1665872d-e22b-0410-9e5d-a57ad4215e6d
2010-04-30 * allow the sbrk backend to be requested via UMEM_OPTIONS=backend=sbrk, but ↵wez2-27/+38
note that this appears to be broken on non-solaris platforms. * make a safer/better check for number of cpus on linux * use pthread_once to register the forkhandler, as it is possible to call it twice in some scenarios without this protection git-svn-id: https://labs.omniti.com/portableumem/trunk@56 1665872d-e22b-0410-9e5d-a57ad4215e6d
2010-04-06correct the parameter ordering for the memalign hook on glibc systemswez1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@55 1665872d-e22b-0410-9e5d-a57ad4215e6d
2010-02-19bump version number in trunkwez1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@54 1665872d-e22b-0410-9e5d-a57ad4215e6d
2010-02-19improve compatibility with PPC platforms.wez3-6/+57
git-svn-id: https://labs.omniti.com/portableumem/trunk@52 1665872d-e22b-0410-9e5d-a57ad4215e6d
2009-03-06bump the version; it's about 2 years overdue that we roll a new tarballwez1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@50 1665872d-e22b-0410-9e5d-a57ad4215e6d
2008-06-03update copyright infowez17-17/+18
git-svn-id: https://labs.omniti.com/portableumem/trunk@49 1665872d-e22b-0410-9e5d-a57ad4215e6d
2008-06-03fix portability issue reported by Mitowez1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@48 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-09-04packaging tweaks from Richwez1-2/+38
git-svn-id: https://labs.omniti.com/portableumem/trunk@47 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-09-03spec fixup, patch from Richwez1-0/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@46 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-08-03fixup malloc replacement on 64-bit systems; was missing a configure check.wez3-3/+39
git-svn-id: https://labs.omniti.com/portableumem/trunk@45 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-18better check for issetugidwez2-11/+2
git-svn-id: https://labs.omniti.com/portableumem/trunk@40 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-18be more libc friendly when replacing malloc().wez2-1/+68
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. git-svn-id: https://labs.omniti.com/portableumem/trunk@36 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-17install man pageswez1-2/+4
git-svn-id: https://labs.omniti.com/portableumem/trunk@35 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-17add gdb macroswez1-0/+117
git-svn-id: https://labs.omniti.com/portableumem/trunk@34 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-17fixup linkagewez1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@33 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-17fix another typo.wez1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@32 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-17create a separate library, libumem_malloc, for people that want to replacewez2-13/+12
malloc with the umem routines. git-svn-id: https://labs.omniti.com/portableumem/trunk@31 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-17add man pages from opensolariswez3-0/+1615
git-svn-id: https://labs.omniti.com/portableumem/trunk@30 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-17fix typo and build on osxwez1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@29 1665872d-e22b-0410-9e5d-a57ad4215e6d
2007-03-17tweak for svnwez1-20/+15
git-svn-id: https://labs.omniti.com/portableumem/trunk@28 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-10-13Insert bits to allow successful compilation (and apparent success indhodell4-3/+11
running) on FreeBSD. git-svn-id: https://labs.omniti.com/portableumem/trunk@27 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-10-13merge some OSX related fixes from eceleritywez5-8/+28
git-svn-id: https://labs.omniti.com/portableumem/trunk@26 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-09-03sol_compat.h: Pull in <sys/time.h> for proto of gettimeofday (fixes warnings)richdawe2-1/+5
git-svn-id: https://labs.omniti.com/portableumem/trunk@25 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-09-03Add --enable-malloc-replacement option, for using libumem as a malloc ↵richdawe9-12/+111
replacement git-svn-id: https://labs.omniti.com/portableumem/trunk@24 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-09-03Bugfix: 'rpm' target uses bzip2; so should the spec filerichdawe1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@23 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-09-03Include files, to pick up declarations for printf, strcpy (fixes warnings)richdawe1-0/+4
git-svn-id: https://labs.omniti.com/portableumem/trunk@22 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-07-25Add another test programrichdawe3-2/+68
git-svn-id: https://labs.omniti.com/portableumem/trunk@21 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-07-25Ignore more built filesrichdawe1-0/+4
git-svn-id: https://labs.omniti.com/portableumem/trunk@20 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-07-25Relax libtool version requirement; builds OK with libtool 1.4.2 on RH8.0richdawe1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@19 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-05-13Specify build depsrichdawe2-6/+12
git-svn-id: https://labs.omniti.com/portableumem/trunk@18 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-05-13Bugfix: need to depend on dist-bzip2 target, not the tarball, to ensure that ↵richdawe1-2/+2
tarball is always up-to-date git-svn-id: https://labs.omniti.com/portableumem/trunk@17 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-05-13Use doxygen to build docs; generate spec file using configure; use tar.bz2 ↵richdawe7-17/+1287
instead of tar.gz git-svn-id: https://labs.omniti.com/portableumem/trunk@16 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-05-13Ignore tarballsrichdawe1-0/+2
git-svn-id: https://labs.omniti.com/portableumem/trunk@15 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-05-13Re-add README-alpha, to provide instructions for building from CVS, but this ↵richdawe1-0/+56
time actually adapt it to umem git-svn-id: https://labs.omniti.com/portableumem/trunk@14 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-12Bugfixes: install headers in correct place; include .so in -devel, not main ↵richdawe2-3/+18
rpm; run ldconfig on pre/post in rpm; clean out libtool files in rpm build git-svn-id: https://labs.omniti.com/portableumem/trunk@13 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-12Beginnings of rpm build (currently broken)richdawe2-1/+75
git-svn-id: https://labs.omniti.com/portableumem/trunk@12 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-12'make dist' and 'make distcheck' workrichdawe2-2/+17
git-svn-id: https://labs.omniti.com/portableumem/trunk@11 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-11ignore noisy autoconf bitswez1-0/+17
git-svn-id: https://labs.omniti.com/portableumem/trunk@10 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-11make the build experience nicer outside of ecelerity.wez5-13/+92
Add a simple test app. Note: we don't compile the malloc replacement component. git-svn-id: https://labs.omniti.com/portableumem/trunk@9 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-11don't clobber our nice copyright file with GPLwez1-1/+1
git-svn-id: https://labs.omniti.com/portableumem/trunk@8 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-11looks like an accidental commitwez1-143/+0
git-svn-id: https://labs.omniti.com/portableumem/trunk@7 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-11Build a basic shared library on Linux; may not work!richdawe12-3/+217
git-svn-id: https://labs.omniti.com/portableumem/trunk@6 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-10Initial revisionwez33-0/+10239
git-svn-id: https://labs.omniti.com/portableumem/trunk@2 1665872d-e22b-0410-9e5d-a57ad4215e6d
2006-03-10New repository initialized by cvs2svn.(no author)0-0/+0
git-svn-id: https://labs.omniti.com/portableumem/trunk@1 1665872d-e22b-0410-9e5d-a57ad4215e6d