From owner-freebsd-current Sun Feb 28 23:17: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 79CA91521F; Sun, 28 Feb 1999 23:16:08 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id SAA14759; Mon, 1 Mar 1999 18:15:42 +1100 Date: Mon, 1 Mar 1999 18:15:42 +1100 From: Bruce Evans Message-Id: <199903010715.SAA14759@godzilla.zeta.org.au> To: assar@sics.se, eivind@FreeBSD.ORG Subject: Re: panic: zone: entry not free Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I think that the goal should be to make KLDs work with all kinds of >kernels. And the only place where this seems to be a problem is with >zalloc and zfree. So it seems to me that one of the following could >be done to solve it: > >a. make zalloc and zfree non-inline >b. call zalloci and zfreei in code that can end up in KLDs >c. call zalloci and zfreei everywhere where it's not performance-critical There are many potential problems with SMP kernels. Many of the inline functions in depend on SMP. We've already pessimised the usual (non-SMP) case by uninlining a few too many spl-related functions. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message