| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Tested with MSVC 8 32 and 64 bits.
|
| |
|
|
|
| |
Add atomic(9) implementations of atomic operations. These are used on
FreeBSD for non-x86 architectures.
|
| |
|
|
|
|
|
| |
These functions may be available as inlines or as libgcc functions. In the
former case, a __GCC_HAVE_SYNC_COMPARE_AND_SWAP_n macro is defined. But we
still want to use these functions in the latter case, when we don't have
our own implementation.
|
| |
|
|
|
|
|
|
|
|
|
| |
Remove ephemeral mutexes from the prof machinery, and remove
malloc_mutex_destroy(). This simplifies mutex management on systems
that call malloc()/free() inside pthread_mutex_{create,destroy}().
Add atomic_*_u() for operation on unsigned values.
Fix prof_printf() to call malloc_vsnprintf() rather than
malloc_snprintf().
|
| |
|
|
|
| |
Restructure atomic_*_z() so that no casting within macros is necessary.
This avoids warnings when compiling with clang.
|
| |
|
|
| |
Submitted by Andreas Vinsander.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Program-generate small size class tables for all valid combinations of
LG_TINY_MIN, LG_QUANTUM, and PAGE_SHIFT. Use the appropriate table to generate
all relevant data structures, and remove the distinction between
tiny/quantum/cacheline/subpage bins.
Remove --enable-dynamic-page-shift. This option didn't prove useful in
practice, and it prevented optimizations.
Add Tilera architecture support.
|
| |
|