<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdlib/malloc.c, branch releng/4.7</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC:</title>
<updated>2001-12-29T08:10:14+00:00</updated>
<author>
<name>Akinori MUSHA</name>
<email>knu@FreeBSD.org</email>
</author>
<published>2001-12-29T08:10:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2316c86bd03354712fc909b1012e4f1ad5e1e191'/>
<id>2316c86bd03354712fc909b1012e4f1ad5e1e191</id>
<content type='text'>
  1.62: If 'VX' is given, realloc(foo,0) will bail, it shouldn't.
  1.61: Correctly call THREAD_UNLOCK() if the recursive call trap is sprung.
  1.58: Fixed style bugs (dot `.' at the end of error and warning messages).

Approved by:	phk, re (rwatson)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  1.62: If 'VX' is given, realloc(foo,0) will bail, it shouldn't.
  1.61: Correctly call THREAD_UNLOCK() if the recursive call trap is sprung.
  1.58: Fixed style bugs (dot `.' at the end of error and warning messages).

Approved by:	phk, re (rwatson)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: 1.57: remove sizeof(void *) == sizeof(int) assumptions</title>
<updated>2001-03-05T11:31:30+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2001-03-05T11:31:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3d3be09f5692df60819d0d804bbb5710004664fc'/>
<id>3d3be09f5692df60819d0d804bbb5710004664fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: add /dev/zero and use PATH_* where possible.</title>
<updated>2000-12-11T01:03:42+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2000-12-11T01:03:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6034d13a9ed650ee88ae94550adc86ef25441310'/>
<id>6034d13a9ed650ee88ae94550adc86ef25441310</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2000-08-23T00:12:17+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2000-08-23T00:12:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=91d04eff70b4bd851dff6ae1812c1ac6eb5700c9'/>
<id>91d04eff70b4bd851dff6ae1812c1ac6eb5700c9</id>
<content type='text'>
- Add a missing THREAD_UNLOCK()
- Remove allocation failure check from 'A' option, the 'X' option does
  this as a standalone check now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add a missing THREAD_UNLOCK()
- Remove allocation failure check from 'A' option, the 'X' option does
  this as a standalone check now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify sytem call renaming.  Instead of _foo() &lt;-- _libc_foo &lt;-- foo(),</title>
<updated>2000-01-27T23:07:25+00:00</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2000-01-27T23:07:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9233c4d9426e03b28e043baeefb6d5a37dc4086e'/>
<id>9233c4d9426e03b28e043baeefb6d5a37dc4086e</id>
<content type='text'>
just use _foo() &lt;-- foo().  In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate.  In the case of libc_r, we still need three names, which are
now _thread_sys_foo() &lt;-- _foo() &lt;-- foo().

Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().

Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().

Make thread cancellation fully POSIX-compliant.

Suggested by:	deischen
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
just use _foo() &lt;-- foo().  In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate.  In the case of libc_r, we still need three names, which are
now _thread_sys_foo() &lt;-- _foo() &lt;-- foo().

Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().

Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().

Make thread cancellation fully POSIX-compliant.

Suggested by:	deischen
</pre>
</div>
</content>
</entry>
<entry>
<title>Add three-tier symbol naming in support of POSIX thread cancellation</title>
<updated>2000-01-12T09:23:48+00:00</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2000-01-12T09:23:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=929273386f6e688c008b15fd24932df2ed7e7172'/>
<id>929273386f6e688c008b15fd24932df2ed7e7172</id>
<content type='text'>
points.  For library functions, the pattern is __sleep() &lt;--
_libc_sleep() &lt;-- sleep().  The arrows represent weak aliases.  For
system calls, the pattern is _read() &lt;-- _libc_read() &lt;-- read().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
points.  For library functions, the pattern is __sleep() &lt;--
_libc_sleep() &lt;-- sleep().  The arrows represent weak aliases.  For
system calls, the pattern is _read() &lt;-- _libc_read() &lt;-- read().
</pre>
</div>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Back out previous commit after discussing it with Dmitrij Tejblum.</title>
<updated>1999-07-07T21:01:20+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>1999-07-07T21:01:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=65b97b034e13e8407c9bc1b086371e712419f9b2'/>
<id>65b97b034e13e8407c9bc1b086371e712419f9b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Always set errno to ENOMEM when returning 0 from malloc() or realloc().</title>
<updated>1999-07-07T19:54:08+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>1999-07-07T19:54:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c58b5cffa14bfdcab1d190acb733982b3a87d5c3'/>
<id>c58b5cffa14bfdcab1d190acb733982b3a87d5c3</id>
<content type='text'>
Approved by:	phk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	phk
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable the "Hint" option in phkmalloc as default.  Recent VM system</title>
<updated>1999-03-28T14:16:05+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-03-28T14:16:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5b26e8496891ecb7735c779bec5c3f75e39bdc1c'/>
<id>5b26e8496891ecb7735c779bec5c3f75e39bdc1c</id>
<content type='text'>
changes have made this too expensive.  This gains about 1.25% on
worldstone on my SMP machine.

Swap-less machines, for instance PicoBSDs, and machines which experience
page-out trafic, check with top(1), will probably want to reenable this
with:
	ln -s H /etc/malloc.conf

Suggested by: alc (&amp;dyson ?)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
changes have made this too expensive.  This gains about 1.25% on
worldstone on my SMP machine.

Swap-less machines, for instance PicoBSDs, and machines which experience
page-out trafic, check with top(1), will probably want to reenable this
with:
	ln -s H /etc/malloc.conf

Suggested by: alc (&amp;dyson ?)
</pre>
</div>
</content>
</entry>
</feed>
