<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/stdlib/malloc.c, branch release/4.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F4.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F4.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2000-03-20T08:47:53Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2000-03-20T08:47:53Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2000-03-20T08:47:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7e6cd705f344de2f9f08475a0fa2ef9191f88dd0'/>
<id>urn:sha1:7e6cd705f344de2f9f08475a0fa2ef9191f88dd0</id>
<content type='text'>
'RELENG_4_0_0_RELEASE'.

This commit was manufactured to restore the state of the 4.0-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
</entry>
<entry>
<title>Simplify sytem call renaming.  Instead of _foo() &lt;-- _libc_foo &lt;-- foo(),</title>
<updated>2000-01-27T23:07:25Z</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2000-01-27T23:07:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9233c4d9426e03b28e043baeefb6d5a37dc4086e'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Add three-tier symbol naming in support of POSIX thread cancellation</title>
<updated>2000-01-12T09:23:48Z</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2000-01-12T09:23:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=929273386f6e688c008b15fd24932df2ed7e7172'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>urn:sha1:7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Back out previous commit after discussing it with Dmitrij Tejblum.</title>
<updated>1999-07-07T21:01:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>1999-07-07T21:01:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=65b97b034e13e8407c9bc1b086371e712419f9b2'/>
<id>urn:sha1:65b97b034e13e8407c9bc1b086371e712419f9b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always set errno to ENOMEM when returning 0 from malloc() or realloc().</title>
<updated>1999-07-07T19:54:08Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>1999-07-07T19:54:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c58b5cffa14bfdcab1d190acb733982b3a87d5c3'/>
<id>urn:sha1:c58b5cffa14bfdcab1d190acb733982b3a87d5c3</id>
<content type='text'>
Approved by:	phk
</content>
</entry>
<entry>
<title>Disable the "Hint" option in phkmalloc as default.  Recent VM system</title>
<updated>1999-03-28T14:16:05Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-03-28T14:16:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5b26e8496891ecb7735c779bec5c3f75e39bdc1c'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Delete the XXX comments that refer to spinlock recursion. The malloc/free/</title>
<updated>1998-09-30T06:13:59Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-09-30T06:13:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a0aa3890076fc8f114c2b73256a7de3f884649ee'/>
<id>urn:sha1:a0aa3890076fc8f114c2b73256a7de3f884649ee</id>
<content type='text'>
realloc functions check for recursion within the malloc code itself. In
a thread-safe library, the single spinlock ensures that no two threads
go inside the protected code at the same time. The thread implementation
is responsible for ensuring that the spinlock does in fact protect malloc.
There was a window of opportunity in which this was not the case. I'll fix
that with a commit RSN.
</content>
</entry>
<entry>
<title>Use 8k pagesize on alpha, not 4k.</title>
<updated>1998-09-23T21:26:04Z</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>1998-09-23T21:26:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cea1d019fe5e6854aada37efb2823ec406e8ec19'/>
<id>urn:sha1:cea1d019fe5e6854aada37efb2823ec406e8ec19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Back out part of previous commit (even though it's technically correct).</title>
<updated>1998-09-20T01:07:50Z</updated>
<author>
<name>Alexander Langer</name>
<email>alex@FreeBSD.org</email>
</author>
<published>1998-09-20T01:07:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d988805a1f6cf6bbf1b61299a1e0e2c203dd3750'/>
<id>urn:sha1:d988805a1f6cf6bbf1b61299a1e0e2c203dd3750</id>
<content type='text'>
Our spinlock implementation allows a particular thread to obtain a lock
multiple times, but release the lock with a single unlock call.  Since
we're detecting recursion, we know the lock is already owned by the
current thread in a previous call and must not be released in the
current call.  This is really far too dependent on this particular
spinlock implementation, so I've added commented out calls to
THREAD_UNLOCK in the appropriate places.  We can activate this code when
spinlock is taught to count each lock operation.
</content>
</entry>
</feed>
