Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/sys Pull up revision 1.79 (requested by abs in tick...



details:   https://anonhg.NetBSD.org/src/rev/52e55aafe7cb
branches:  netbsd-1-6
changeset: 528492:52e55aafe7cb
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Jul 21 03:35:56 2002 +0000

description:
Pull up revision 1.79 (requested by abs in ticket #520):
Introduce MALLOC_NOINLINE, which mirrors the effect of DIAGNOSTIC
and similar in making MALLOC/FREE not inline. Saves 11k on acorn26
FOURMEG config.

diffstat:

 sys/sys/malloc.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1004ae10d032 -r 52e55aafe7cb sys/sys/malloc.h
--- a/sys/sys/malloc.h  Sun Jul 21 00:57:08 2002 +0000
+++ b/sys/sys/malloc.h  Sun Jul 21 03:35:56 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: malloc.h,v 1.77 2002/01/12 00:00:39 nathanw Exp $      */
+/*     $NetBSD: malloc.h,v 1.77.10.1 2002/07/21 03:35:56 lukem Exp $   */
 
 /*
  * Copyright (c) 1987, 1993
@@ -417,7 +417,7 @@
  * Macro versions for the usual cases of malloc/free
  */
 #if defined(KMEMSTATS) || defined(DIAGNOSTIC) || defined(_LKM) || \
-    defined(MALLOCLOG) || defined(LOCKDEBUG)
+    defined(MALLOCLOG) || defined(LOCKDEBUG) || defined(MALLOC_NOINLINE)
 #define        MALLOC(space, cast, size, type, flags) \
        (space) = (cast)malloc((u_long)(size), (type), (flags))
 #define        FREE(addr, type) free((caddr_t)(addr), (type))



Home | Main Index | Thread Index | Old Index