<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdlib/malloc.c, branch stable/3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-29T14:49:43+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-29T14:49:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f376ef90540b4d5b6e7f467620e91404ba306d89'/>
<id>f376ef90540b4d5b6e7f467620e91404ba306d89</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=3201ec67189a4522e937c75c1708736c4111555d'/>
<id>3201ec67189a4522e937c75c1708736c4111555d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Always set errno to ENOMEM when returning 0.</title>
<updated>1999-07-07T19:58:14+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>1999-07-07T19:58:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=01b59e0b972de7fe6c304d373e8c864f260bb6d5'/>
<id>01b59e0b972de7fe6c304d373e8c864f260bb6d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Disable the "Hint" option in phkmalloc as default.</title>
<updated>1999-05-09T18:41:49+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>1999-05-09T18:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e53c398b9e043a73a3f035b5da502f8a1408cb06'/>
<id>e53c398b9e043a73a3f035b5da502f8a1408cb06</id>
<content type='text'>
Reviewed by:	Poul-Henning Kamp &lt;phk@critter.freebsd.dk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	Poul-Henning Kamp &lt;phk@critter.freebsd.dk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete the XXX comments that refer to spinlock recursion. The malloc/free/</title>
<updated>1998-09-30T06:13:59+00:00</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-09-30T06:13:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a0aa3890076fc8f114c2b73256a7de3f884649ee'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use 8k pagesize on alpha, not 4k.</title>
<updated>1998-09-23T21:26:04+00:00</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>1998-09-23T21:26:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cea1d019fe5e6854aada37efb2823ec406e8ec19'/>
<id>cea1d019fe5e6854aada37efb2823ec406e8ec19</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 part of previous commit (even though it's technically correct).</title>
<updated>1998-09-20T01:07:50+00:00</updated>
<author>
<name>Alexander Langer</name>
<email>alex@FreeBSD.org</email>
</author>
<published>1998-09-20T01:07:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d988805a1f6cf6bbf1b61299a1e0e2c203dd3750'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correctly back out of free if a recursive call into malloc.c is detected.</title>
<updated>1998-09-19T20:55:36+00:00</updated>
<author>
<name>Alexander Langer</name>
<email>alex@FreeBSD.org</email>
</author>
<published>1998-09-19T20:55:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=366248e086aefe5f4f54a8c396fa61823b9c17c9'/>
<id>366248e086aefe5f4f54a8c396fa61823b9c17c9</id>
<content type='text'>
Set malloc_func *after* grabbing the thread lock.

Noticed by:	Simon Coggins &lt;simon@oz.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set malloc_func *after* grabbing the thread lock.

Noticed by:	Simon Coggins &lt;simon@oz.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>preserve errno across the readlink() calls.  There is no value in trashing</title>
<updated>1998-06-18T09:13:16+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1998-06-18T09:13:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2f92c56cc30eb60699f0959dfafd34c208a9a5d2'/>
<id>2f92c56cc30eb60699f0959dfafd34c208a9a5d2</id>
<content type='text'>
errno during a successful malloc() call.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
errno during a successful malloc() call.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for thread lock debug. No impact of the malloc code.</title>
<updated>1998-06-09T08:30:32+00:00</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-06-09T08:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3d853e107ed067aeb59f767757ef1a0c8819881f'/>
<id>3d853e107ed067aeb59f767757ef1a0c8819881f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
