Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
.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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@55 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@54 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@52 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@50 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@49 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@48 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@47 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@46 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@45 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@40 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
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
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@35 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@34 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@33 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@32 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
malloc with the umem routines.
git-svn-id: https://labs.omniti.com/portableumem/trunk@31 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@30 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@29 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@28 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
running) on FreeBSD.
git-svn-id: https://labs.omniti.com/portableumem/trunk@27 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@26 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@25 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
replacement
git-svn-id: https://labs.omniti.com/portableumem/trunk@24 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@23 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@22 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@21 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@20 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@19 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@18 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
tarball is always up-to-date
git-svn-id: https://labs.omniti.com/portableumem/trunk@17 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
instead of tar.gz
git-svn-id: https://labs.omniti.com/portableumem/trunk@16 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@15 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
time actually adapt it to umem
git-svn-id: https://labs.omniti.com/portableumem/trunk@14 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
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
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@12 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@11 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@10 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
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
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@8 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@7 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@6 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@2 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@1 1665872d-e22b-0410-9e5d-a57ad4215e6d
|