<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/stdlib/malloc.c, branch release/3.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F3.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F3.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>1999-01-21T00:55:32Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>1999-01-21T00:55:32Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>1999-01-21T00:55:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2e61cbb7f50878e738849ea4384118c13733f09c'/>
<id>urn:sha1:2e61cbb7f50878e738849ea4384118c13733f09c</id>
<content type='text'>
'RELENG_3_0_0_RELEASE'.

This commit was manufactured to restore the state of the 3.0-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</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>
<entry>
<title>Correctly back out of free if a recursive call into malloc.c is detected.</title>
<updated>1998-09-19T20:55:36Z</updated>
<author>
<name>Alexander Langer</name>
<email>alex@FreeBSD.org</email>
</author>
<published>1998-09-19T20:55:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=366248e086aefe5f4f54a8c396fa61823b9c17c9'/>
<id>urn:sha1:366248e086aefe5f4f54a8c396fa61823b9c17c9</id>
<content type='text'>
Set malloc_func *after* grabbing the thread lock.

Noticed by:	Simon Coggins &lt;simon@oz.org&gt;
</content>
</entry>
<entry>
<title>preserve errno across the readlink() calls.  There is no value in trashing</title>
<updated>1998-06-18T09:13:16Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1998-06-18T09:13:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2f92c56cc30eb60699f0959dfafd34c208a9a5d2'/>
<id>urn:sha1:2f92c56cc30eb60699f0959dfafd34c208a9a5d2</id>
<content type='text'>
errno during a successful malloc() call.
</content>
</entry>
<entry>
<title>Add support for thread lock debug. No impact of the malloc code.</title>
<updated>1998-06-09T08:30:32Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-06-09T08:30:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3d853e107ed067aeb59f767757ef1a0c8819881f'/>
<id>urn:sha1:3d853e107ed067aeb59f767757ef1a0c8819881f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace the threaded locking with spinlock calls for both threaded</title>
<updated>1998-04-29T09:10:58Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-04-29T09:10:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=72b42edfd4796072d2a48e7c0c8294ae3e86d70a'/>
<id>urn:sha1:72b42edfd4796072d2a48e7c0c8294ae3e86d70a</id>
<content type='text'>
and non-threaded programs. This makes malloc thread safe for linking
with libpthread and kernel threads.

Reviewed by: phk
</content>
</entry>
<entry>
<title>Change in name of the static initializer define.</title>
<updated>1998-04-04T11:03:07Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-04-04T11:03:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5a2f1fed77fef948b36091c15bfcdda586756bc8'/>
<id>urn:sha1:5a2f1fed77fef948b36091c15bfcdda586756bc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>NetBSD doesn't have a utrace syscall, so don't define that if</title>
<updated>1998-03-09T07:00:38Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-03-09T07:00:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e4193688da394d22df4280e3ec34492498e96db3'/>
<id>urn:sha1:e4193688da394d22df4280e3ec34492498e96db3</id>
<content type='text'>
__NETBSD_SYSCALLS is defined.
</content>
</entry>
</feed>
