From owner-cvs-all@FreeBSD.ORG Thu Oct 30 02:43:53 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8659C16A4CE; Thu, 30 Oct 2003 02:43:53 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19CAB43FB1; Thu, 30 Oct 2003 02:43:53 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9UAhqXJ018326; Thu, 30 Oct 2003 02:43:52 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9UAhqXJ018325; Thu, 30 Oct 2003 02:43:52 -0800 (PST) (envelope-from harti) Message-Id: <200310301043.h9UAhqXJ018325@repoman.freebsd.org> From: Hartmut Brandt Date: Thu, 30 Oct 2003 02:43:52 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatmvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 10:43:53 -0000 harti 2003/10/30 02:43:52 PST FreeBSD src repository Modified files: sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatmvar.h Log: Reinvent the used-flag for external mbufs. This and the on-card flag are now in the header of the external buffer itself which allows us to manipulate them in the free routine without having to lock the softc structure or the free list. To get space for these flags the chunk number is reduced to 8 bit which amounts to a maximum of 256 chunks per allocated page. This restriction is now enforced by a CTASSERT. Revision Changes Path 1.16 +16 -5 src/sys/dev/hatm/if_hatm.c 1.13 +30 -5 src/sys/dev/hatm/if_hatm_intr.c 1.12 +10 -9 src/sys/dev/hatm/if_hatmvar.h