| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Sponsored by: FreeBSD Foundation and Google Inc.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
ia64, powerpc, and sparc64, use ANSI function headers and specifically
indicate the lack of arguments with 'void'. Otherwise, warnings are
generated at WARNS=3, leading to a compile failure with -Werror.
|
| | |
|
| |
| |
| |
| |
| |
| | |
will work after a fork().
WARNS=3'ify.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libkse in FreeBSD 8.0, do not build or install static versions of libkse
(i.e. libkse*.a) in the default case. Static versions will be built and
installed if libthr is not built or if libkse is the default threading
library.
Discussed on: freebsd-arch
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| | |
with a null mechanism list.
PR: misc/117349
Submitted by: Sean McNeil <sean at mcneil dot com>
|
| | |
|
| |
| |
| |
| | |
were obscured by pseudo-opaque pthreads API pointer casting.
|
| |
| |
| |
| | |
a stub.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
contention. The intent is to dynamically adjust to load imbalances, which
can cause severe contention.
Use pthread mutexes where possible instead of libc "spinlocks" (they aren't
actually spin locks). Conceptually, this change is meant only to support
the dynamic load balancing code by enabling the use of spin locks, but it
has the added apparent benefit of substantially improving performance due to
reduced context switches when there is moderate arena lock contention.
Proper tuning parameter configuration for this change is a finicky business,
and it is very much machine-dependent. One seemingly promising solution
would be to run a tuning program during operating system installation that
computes appropriate settings for load balancing. (The pthreads adaptive
spin locks should probably be similarly tuned.)
|
| |
| |
| |
| |
| | |
(part of libc) can use pthreads mutexes without causing infinite recursion
during initialization.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
vector of slots for lazily freed objects. For each deallocation, before
doing the hard work of locking the arena and deallocating, try several times
to randomly insert the object into the vector using atomic operations.
This approach is particularly effective at reducing contention for
multi-threaded applications that use the producer-consumer model, wherein
one producer thread allocates objects, then multiple consumer threads
deallocate those objects.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
allocations. [1]
Fix calculation of the number of arenas when 'n' is specified via
MALLOC_OPTIONS.
Clean up various style inconsistencies.
Obtained from: [1] NetBSD
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
elf{32,64}_xlateto[fm]() translation functions. This change makes our
libelf compatible with other ELF(3) implementations. [1]
- Update manual page to reflect this change.
- Style fixes: wrap a long line.
Submitted by: jb [1]
|
| |
| |
| |
| | |
it should be there.
|
| |
| |
| |
| |
| | |
- Defer detailed descriptions of individual functions in the API to
function-specific manual pages.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- pmc_attach(), pmc_detach().
- pmc_capabilities(), pmc_cpuinfo(), pmc_ncpu(), pmc_npmc(), pmc_pmcinfo(),
pmc_width().
- pmc_get_driver_stats().
- pmc_get_msr().
- pmc_read(), pmc_rw(), pmc_write().
- pmc_set().
- pmc_start(), pmc_stop().
|
| |
| |
| |
| |
| | |
- Describe functions pmc_configure_logfile(), pmc_flush_logfile() and
pmc_writelog() in their own manual page.
|
| |
| |
| |
| |
| |
| | |
comma looks like a period.
Noticed by: brueffer
|
| |
| |
| |
| | |
disposition,event,mode,state}' in their own manual page.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
page and code to match.
Submitted by: jb
MFC After: 1 day
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
this should reduce the chance having to do a syscall when there is no
waiter in the semaphore.
|
| | |
|
| |
| |
| |
| | |
warnings.
|
| | |
|
| |
| |
| |
| |
| | |
_thr_umtx_wait_uint() for umtx operation UMTX_OP_WAIT_UINT, use the
function in semaphore operations, this fixed compiler warnings.
|
| |
| |
| |
| |
| |
| | |
Note that ULong in this code is actually defined as an unsigned integer across
all arches so that the gdtoa() function always processes 32 bit data
despite the unfortunate naming of "ULong".
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libraries had not had their versions bumped relative to 6.3-REL but
had indeed been changed. We need to bump their version so they can be
properly added to the compat6x port:
libasn1.so.8 libgssapi.so.8 libhdb.so.8 libkadm5clnt.so.8
libkadm5srv.so.8 libkafs5.so.8 libkrb5.so.8 libobjc.so.2
MFC After: 1 day
|
| |
| |
| |
| |
| |
| |
| |
| | |
doesn't use the default CFLAGS which contain -fno-strict-aliasing.
Until the code is cleaned up, just add -fno-strict-aliasing to the
CFLAGS of these for the tinderboxes' sake, allowing the rest of the
tree to have -Werror enabled again.
|
| |
| |
| |
| |
| | |
using gcc 4.2. This is required for tinderbox which doesn't have
-fno-strict-aliasing in it's custom CFLAGS.
|
| |
| |
| |
| | |
Anybody with a cleaner solution feel free to change it.
|
| |
| |
| |
| |
| |
| |
| | |
[pt]ty[lmnoLMNO][0-9a-v].
MFC after: 3 days
Reviewed by: rwatson
|
| |
| |
| |
| | |
In _pthread_key_create() ensure that libkse is initialized.
|
| | |
|
| |
| |
| |
| | |
be called with a const without the compiler grisling.
|
| |
| |
| |
| | |
MFC after: 1 week
|
| | |
|
| |
| |
| |
| |
| | |
Reported by: Eric Millbrandt emillbrandt at coldhaus dot com
MFC after: 3 days
|