Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib Powerpc seems to expect minimum 8 byte align...
details: https://anonhg.NetBSD.org/src/rev/58d5ae0098d2
branches: trunk
changeset: 326995:58d5ae0098d2
user: martin <martin%NetBSD.org@localhost>
date: Tue Feb 25 12:13:19 2014 +0000
description:
Powerpc seems to expect minimum 8 byte alignment from malloc as well.
diffstat:
lib/libc/stdlib/jemalloc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 2b061f68dda2 -r 58d5ae0098d2 lib/libc/stdlib/jemalloc.c
--- a/lib/libc/stdlib/jemalloc.c Tue Feb 25 09:54:33 2014 +0000
+++ b/lib/libc/stdlib/jemalloc.c Tue Feb 25 12:13:19 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jemalloc.c,v 1.31 2014/02/17 08:50:50 martin Exp $ */
+/* $NetBSD: jemalloc.c,v 1.32 2014/02/25 12:13:19 martin Exp $ */
/*-
* Copyright (C) 2006,2007 Jason Evans <jasone%FreeBSD.org@localhost>.
@@ -118,7 +118,7 @@
#include <sys/cdefs.h>
/* __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $"); */
-__RCSID("$NetBSD: jemalloc.c,v 1.31 2014/02/17 08:50:50 martin Exp $");
+__RCSID("$NetBSD: jemalloc.c,v 1.32 2014/02/25 12:13:19 martin Exp $");
#ifdef __FreeBSD__
#include "libc_private.h"
@@ -263,6 +263,7 @@
# define QUANTUM_2POW_MIN 4
# define SIZEOF_PTR_2POW 2
# define USE_BRK
+# define TINY_MIN_2POW 3
#endif
#if defined(__sparc__) && !defined(__sparc64__)
# define QUANTUM_2POW_MIN 4
Home |
Main Index |
Thread Index |
Old Index