Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/subr_pool.c,v retrieving revision 1.156.2.1 retrieving revision 1.156.2.2 diff -u -p -r1.156.2.1 -r1.156.2.2 --- src/sys/kern/subr_pool.c 2008/05/18 12:35:09 1.156.2.1 +++ src/sys/kern/subr_pool.c 2008/06/04 02:05:39 1.156.2.2 @@ -1,7 +1,7 @@ -/* $NetBSD: subr_pool.c,v 1.156.2.1 2008/05/18 12:35:09 yamt Exp $ */ +/* $NetBSD: subr_pool.c,v 1.156.2.2 2008/06/04 02:05:39 yamt Exp $ */ /*- - * Copyright (c) 1997, 1999, 2000, 2002, 2007 The NetBSD Foundation, Inc. + * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.156.2.1 2008/05/18 12:35:09 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.156.2.2 2008/06/04 02:05:39 yamt Exp $"); #include "opt_ddb.h" #include "opt_pool.h" @@ -2390,10 +2390,7 @@ pool_cache_cpu_exit(pool_cache_cpu_t *cc KPREEMPT_ENABLE(curlwp); } -#if __GNUC_PREREQ__(3, 0) -__attribute ((noinline)) -#endif -pool_cache_cpu_t * +pool_cache_cpu_t * __noinline pool_cache_get_slow(pool_cache_cpu_t *cc, int *s, void **objectp, paddr_t *pap, int flags) { @@ -2544,10 +2541,7 @@ pool_cache_get_paddr(pool_cache_t pc, in return object; } -#if __GNUC_PREREQ__(3, 0) -__attribute ((noinline)) -#endif -pool_cache_cpu_t * +pool_cache_cpu_t * __noinline pool_cache_put_slow(pool_cache_cpu_t *cc, int *s, void *object, paddr_t pa) { pcg_t *pcg, *cur;