Up to [cvs.NetBSD.org] / src / lib / libc / stdlib
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Wed Mar 21 14:32:22 2012 UTC (14 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.27: +12 -12
lines
Diff to previous 1.27 (colored)
rename umax2s->size_t2s function per apb's request.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 21 10:10:36 2012 UTC (14 months ago) by matt
Branch: MAIN
Changes since 1.26: +4 -3
lines
Diff to previous 1.26 (colored)
Use C89 function definition
Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 21 09:49:02 2012 UTC (14 months ago) by he
Branch: MAIN
Changes since 1.25: +3 -3
lines
Diff to previous 1.25 (colored)
Cast an int argument to umax2s() to size_t.
Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 21 00:38:06 2012 UTC (14 months ago) by christos
Branch: MAIN
Changes since 1.24: +5 -5
lines
Diff to previous 1.24 (colored)
uintmax_t -> size_t (never called with larger than size_t)
Revision 1.24 / (download) - annotate - [select for diffs], Wed May 18 01:59:39 2011 UTC (2 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
netbsd-6
Changes since 1.23: +4 -4
lines
Diff to previous 1.23 (colored)
cleanup saving and restoring errno, and make it similar.
Revision 1.23 / (download) - annotate - [select for diffs], Fri May 13 23:11:00 2011 UTC (2 years ago) by christos
Branch: MAIN
Changes since 1.22: +5 -2
lines
Diff to previous 1.22 (colored)
don't let readlink trash errno.;
Revision 1.22 / (download) - annotate - [select for diffs], Sat Feb 26 23:27:49 2011 UTC (2 years, 2 months ago) by njoly
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.21: +21 -18
lines
Diff to previous 1.21 (colored)
Switch from floating point to fixed point integer for run sizes maths. From FreeBSD (part of revision 1.154).
Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 4 22:48:31 2010 UTC (3 years, 2 months ago) by enami
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.20: +28 -15
lines
Diff to previous 1.20 (colored)
Fix race condition on reallocation of huge category. We need to remove the old region before mremap() since if it relesae the old region, other thread may map it for the same huge category allocation and insert it to the tree before we acquire a lock after mremap(). Fixes PR/42876.
Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 12 03:11:01 2009 UTC (4 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211,
jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.19: +7 -12
lines
Diff to previous 1.19 (colored)
Apply some of FreeBSD libc/stdlib/malloc.c rev 1.162 to fix sign-compare issues.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 23 10:46:25 2008 UTC (4 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
christos-time_t-nbase,
christos-time_t-base
Branch point for: netbsd-5,
matt-nb5-mips64,
jym-xensuspend,
christos-time_t
Changes since 1.18: +18 -9
lines
Diff to previous 1.18 (colored)
Split choose_arena() back out into inline and non-inline portions.
Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 5 00:16:34 2008 UTC (4 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Changes since 1.17: +4 -4
lines
Diff to previous 1.17 (colored)
Check to see if MALLOC_OPTIONS is actually set in the environment before doing issetugid().
Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 8 13:17:13 2008 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
matt-armv6-nbase,
keiichi-mipv6-base,
hpcarm-cleanup-nbase
Branch point for: yamt-pf42,
wrstuden-revivesa
Changes since 1.16: +31 -53
lines
Diff to previous 1.16 (colored)
Redo the CPU-based arena selection slightly differently. With the latest libpthread and kernel, this mysteriously works without a problem.
Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 4 17:43:51 2007 UTC (5 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: matt-armv6-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Branch point for: keiichi-mipv6
Changes since 1.15: +42 -22
lines
Diff to previous 1.15 (colored)
- use a non localized version of strerror_r. - kill localized declarations and let namespace.h do its work.
Revision 1.15 / (download) - annotate - [select for diffs], Sat Dec 1 22:44:44 2007 UTC (5 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.14: +82 -41
lines
Diff to previous 1.14 (colored)
Back out the per-cpu arena changes. With this, ld.so magically stops loading libc/libpthread twice -- which does not make sense, because it has its own private malloc().
Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 30 17:44:38 2007 UTC (5 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.13: +4 -4
lines
Diff to previous 1.13 (colored)
Fix the other half of the 'store int as a thread specific pointer'/
Revision 1.13 / (download) - annotate - [select for diffs], Fri Nov 30 17:09:22 2007 UTC (5 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
converting a pointer to unsigned is bad; use uintptr_t.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 29 18:46:13 2007 UTC (5 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.11: +41 -82
lines
Diff to previous 1.11 (colored)
Make the allocation arenas per-CPU in the most optimistic case, but continue to 'stripe' by thread in case of contention.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 19 14:48:42 2007 UTC (5 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.10: +2 -5
lines
Diff to previous 1.10 (colored)
Enable posix_memalign().
Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 22 04:16:48 2007 UTC (5 years, 7 months ago) by simonb
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.9: +12 -8
lines
Diff to previous 1.9 (colored)
Revert the CSE parts of the previous change. "run" is calculated with a different value for "pageind" each time through the loop, so we can't precalculate it. Fixes awk core dump issues on powerpc 405.
Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 19 19:28:57 2007 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.8: +46 -46
lines
Diff to previous 1.8 (colored)
- do some CSE. - pass lint
Revision 1.8 / (download) - annotate - [select for diffs], Tue Oct 16 15:12:16 2007 UTC (5 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.7: +74 -5
lines
Diff to previous 1.7 (colored)
use mremap for huge -> huge realloc. fix PR/31425 (Nicolas Joly) and possibly PR/36175 (Brian de Alwis).
Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 15 10:30:56 2007 UTC (5 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.6: +9 -5
lines
Diff to previous 1.6 (colored)
make lint happy.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 15 10:28:10 2007 UTC (5 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.5: +3 -4
lines
Diff to previous 1.5 (colored)
malloc_print_stats: print huge_allocated correctly. it's already in bytes.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 15 00:05:00 2007 UTC (5 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.4: +17 -26
lines
Diff to previous 1.4 (colored)
use MAP_ALIGNED.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 9 00:59:52 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.3: +7 -2
lines
Diff to previous 1.3 (colored)
Add defs for hppa. From he@.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 7 21:45:18 2007 UTC (5 years, 7 months ago) by he
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
On sparc64, both __sparc__ and __sparc64__ is defined. Avoid redefinition of size constants for sparc64. This code still produces many, many lint warnings due to "may loose accuracy" when mixing long/int, and also warnings related to <<.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 5 23:42:23 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.1: +143 -104
lines
Diff to previous 1.1 (colored)
Port to NetBSD. Note: posix_memalign() is here, but it's not exported via the headers yet.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 5 23:39:58 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
Pull in jemalloc from FreeBSD: FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp