| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
that no linear searching is necessary if we resort to allocating from a
run that is known to be mostly full. There are pathological edge cases
that could have caused severely degraded performance, and this change
fixes that.
|
|
|
|
|
|
|
|
|
|
|
| |
close enough to each other that reallocation would allocate a new region
of the same size. This improves the performance of repeated incremental
reallocations by up to three orders of magnitude. [1]
Fix arena_new() to properly constrain run size if a small chunk size was
specified during runtime configuration.
Suggested by: se [1]
|
|
|
|
| |
Reported by: phk
|
|
|
|
|
|
|
|
| |
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allocation patterns that involve a relatively even mixture of many
different size classes.
Reduce the chunk size from 16 MB to 2 MB. Since chunks are now carved up
using an address-ordered first best fit policy, VM map fragmentation is
much less likely, which makes smaller chunks not as much of a risk. This
reduces the virtual memory size of most applications.
Remove redzones, since program buffer overruns are no longer as likely to
corrupt malloc data structures.
Remove the C MALLOC_OPTIONS flag, and add H and S.
|
| |
|
| |
|
|
|
|
| |
the quad support on 64-bit platforms.
|
| |
|
|
|
|
| |
Pointed out by: ceri, ru, delphij
|
|
|
|
|
|
| |
it first.
Approved by: andre
|
| |
|
|
|
|
|
|
|
|
| |
providing proper error checking and other improvements.
Obtained from: OpenBSD
Requested by: flz (to port Open[BGP|OSPF]D)
MFC after: 3 days
|
|
|
|
|
|
| |
like the others in <include/arpa/nameser.h>.
Submitted by: ume
|
|
|
|
| |
spinlock stub.
|
| |
|
|
|
|
|
|
|
|
| |
disabled by default; add SYMVER_ENABLED=true to /etc/make.conf
to enable it. libc should get a version bump before this is
enabled by default.
Reviewed by: davidxu
|
|
|
|
| |
Reviewed by: davidxu
|
| |
|
|
|
|
| |
Suggested by: deischen
|
|
|
|
|
|
|
| |
The thread jump table has been resorted, so you need to
keep libc, libpthread, and libthr in sync.
Submitted by: xu
|
|
|
|
|
|
| |
PR: 94087
Submitted by: Tadaaki Nagao <nagao@iij.ad.jp>
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
PR: docs/87681
Noticed by: Andreas Kohn <andreas@syndrom23.de>
Reviewed by: brooks
Approved by: trhodes (mentor)
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
Reported by: yar
Tested by: yar, Rostislav Krasny <rosti.bsd__at__gmail.com>
MFC after: 1 week
|
|
|
|
| |
library.
|
|
|
|
| |
with -O2.
|
| |
|
|
|
|
|
|
| |
Remove a few unused locks.
Remove locks from application namespace.
|
|
|
|
|
|
|
|
|
| |
Staticize two tables thare are not visible in <resolv.h>
and which are also local in Solaris' libresolv.
Remove two functions that are not referenced in libc nor
anywhere else I can find, not visible in <resolv.h> and
which are also local in Solaris libresolv.
|
|
|
|
|
| |
Approved by: cognet (mentor)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
an IPv6 support.
PR: kern/93740
Submitted by: Rudolf Cejka <cejkar__at__fit.vutbr.cz>
Obtained from: BIND9
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
- Don't query 'as is' twice.
PR: bin/62139
Reported by: Rostislav Krasny <rosti.bsd__at__gmail.com>
Tested by: Rostislav Krasny <rosti.bsd__at__gmail.com>
Obtained from: BIND9 (with some modification)
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
b) what return values from kldstat(2) can be expected.
Bump .Dd.
MFC after: 3 days
|
|
|
|
|
|
|
| |
Submitted by: sbahra at gwu dot edu
Reviewed by: ru@
Approved by: ceri@
MFC after: 3 days
|
| |
|
|
|
|
| |
Make sure to always print something in the alternate time format.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
hardcoded ENFILES, which is incorrect. pipe_create() can fail due
to ENOMEM.
- Update manual page, describing ENOMEM return code.
Reviewed by: arch
|
|
|
|
|
|
| |
and if so, use the pts system.
Suggested by: rwatson
|
| |
|
|
|
|
|
|
|
|
|
| |
performance degradation can be disabled via something like the following
in /etc/malloc.conf:
CFLAGS+=-DNO_MALLOC_EXTRAS
Suggested by: deischen
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Remove the block of code that tries to use delayed regions in LIFO order,
since from a policy perspective, it conflicts with LRU caching of newly
coalesced regions in arena_undelay(). There are numerous policy
alternatives, and it isn't readily obvious which (if any) is superior;
this change at least has the virtue of being consistent with policy.
|
| |
|
| |
|