<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdlib/malloc.c, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2013-07-04T14:26:42Z</updated>
<entry>
<title>Protect the #define MALLOC_PRODUCTION directive in case it was also</title>
<updated>2013-07-04T14:26:42Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-07-04T14:26:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=42bdab678229c7020cfdc5bcc7988ba07dbebb15'/>
<id>urn:sha1:42bdab678229c7020cfdc5bcc7988ba07dbebb15</id>
<content type='text'>
defined on the command line (due to MALLOC_PRODUCTION=yes in src.conf).
</content>
</entry>
<entry>
<title>MFC r229848:</title>
<updated>2012-11-22T15:19:53Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-11-22T15:19:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a48d580e689b940b0d6abc376310842a273cdcd8'/>
<id>urn:sha1:a48d580e689b940b0d6abc376310842a273cdcd8</id>
<content type='text'>
  Add aligned_alloc(3).

  The C11 folks reinvented the wheel by introducing an aligned version of
  malloc(3) called aligned_alloc(3), instead of posix_memalign(3). Instead
  of returning the allocation by reference, it returns the address, just
  like malloc(3).

I'm MFCing this now, as it seems aligned_alloc(3) is needed to make the
new version of libc++ work, which was merged back to FreeBSD 9 in r243376.

Requested by:	dim
</content>
</entry>
<entry>
<title>Ensure that the beginning of the DSS is aligned on a chunk boundary.</title>
<updated>2012-06-13T19:04:39Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2012-06-13T19:04:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d587647ea598e402e986db400470640ff056a475'/>
<id>urn:sha1:d587647ea598e402e986db400470640ff056a475</id>
<content type='text'>
If the _end symbol used an address with the low bit set, then the initial
arena could end up with corrupted rb trees causing a crash during the
first call to malloc().

This is a direct commit to stable/9 as it does not affect the version
of malloc in HEAD.

Reviewed by:	jasone
MFC after:	1 week
</content>
</entry>
<entry>
<title>MFC r228540:</title>
<updated>2011-12-31T12:58:21Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2011-12-31T12:58:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6194f5339c63c5b841848e34100e11664b686912'/>
<id>urn:sha1:6194f5339c63c5b841848e34100e11664b686912</id>
<content type='text'>
Since clang does not support the tls_model attribute used in malloc.c
yet (see LLVM PR 9788), and warns about it, rub it out for now.  When
clang grows support for this attribute, I will revert this again.
</content>
</entry>
<entry>
<title>Remove extra debuggin gsupport that is turned on for head but turned off</title>
<updated>2011-10-15T21:23:04Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2011-10-15T21:23:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b8975c9bfdbad79940e9b54e748e23520d6b571d'/>
<id>urn:sha1:b8975c9bfdbad79940e9b54e748e23520d6b571d</id>
<content type='text'>
for stable branches:

	- shift to MALLOC_PRODUCTION
	- turn off automatic crash dumps
	- remove kernel debuggers, INVARIANT*[1], WITNESS* from GENERIC
	  kernel config files

[1] INVARIANT* left on for ia64 at least temporarily, marcel@ will test
    to see if they are still required as they had been for stable/8.

Approved by:	re (implicit)
</content>
</entry>
<entry>
<title>Change sparc64 to use the initial exec TLS model, too. This avoids random</title>
<updated>2011-06-21T19:15:23Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-06-21T19:15:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e01d8915a4c0bdf21dad8be2ee6d14682df8594'/>
<id>urn:sha1:1e01d8915a4c0bdf21dad8be2ee6d14682df8594</id>
<content type='text'>
assertion failures in _malloc_thread_cleanup().
</content>
</entry>
<entry>
<title>Now that TLS generally is available on sparc64 since r219534 turn on</title>
<updated>2011-03-11T21:35:38Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-03-11T21:35:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77ccab511d852afcfc759b6ef9c69739588f5396'/>
<id>urn:sha1:77ccab511d852afcfc759b6ef9c69739588f5396</id>
<content type='text'>
support for it. Note that while sparc64 also supports the static TLS
model and thus tls_model("initial-exec"), using the default model
turned out to yield slightly better buildstone performance.
</content>
</entry>
<entry>
<title>Use aux vector to get values for SSP canary, pagesize, pagesizes array,</title>
<updated>2010-08-17T09:13:26Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2010-08-17T09:13:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2793b018446552e71e9125dc39366f9dbf9042ba'/>
<id>urn:sha1:2793b018446552e71e9125dc39366f9dbf9042ba</id>
<content type='text'>
number of host CPUs and osreldate.

This eliminates the last sysctl(2) calls from the dynamically linked image
startup.

No objections from:	kan
Tested by:	marius (sparc64)
MFC after:	1 month
</content>
</entry>
<entry>
<title>Provide 64-bit PowerPC support in libc.</title>
<updated>2010-07-10T14:45:03Z</updated>
<author>
<name>Nathan Whitehorn</name>
<email>nwhitehorn@FreeBSD.org</email>
</author>
<published>2010-07-10T14:45:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=840b91cc52085d26c112e99d733f71eb92c3ff54'/>
<id>urn:sha1:840b91cc52085d26c112e99d733f71eb92c3ff54</id>
<content type='text'>
Obtained from:	projects/ppc64
</content>
</entry>
<entry>
<title>Rewrite red-black trees to do lazy balance fixup.  This improves</title>
<updated>2010-02-28T22:57:13Z</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2010-02-28T22:57:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=15f8d4975676d724c229bdd4121ea06e27cc1674'/>
<id>urn:sha1:15f8d4975676d724c229bdd4121ea06e27cc1674</id>
<content type='text'>
insert/remove speed by ~30%.
</content>
</entry>
</feed>
