From owner-cvs-all Sat Jan 4 17:24:59 2003 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 740F937B401; Sat, 4 Jan 2003 17:24:58 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCAB443EB2; Sat, 4 Jan 2003 17:24:57 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.6/8.12.6) with ESMTP id h051Ovro005697 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 4 Jan 2003 20:24:57 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h051OpL54837; Sat, 4 Jan 2003 20:24:51 -0500 (EST) (envelope-from gallatin@cs.duke.edu) Date: Sat, 4 Jan 2003 20:24:51 -0500 From: Andrew Gallatin To: Alan Cox Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_kern.c Message-ID: <20030104202451.A54804@grasshopper.cs.duke.edu> References: <200301041926.h04JQZVo035638@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200301041926.h04JQZVo035638@repoman.freebsd.org>; from alc@FreeBSD.org on Sat, Jan 04, 2003 at 11:26:35AM -0800 X-Operating-System: FreeBSD 4.4-RELEASE on an i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alan Cox [alc@FreeBSD.org] wrote: > alc 2003/01/04 11:26:35 PST > > Modified files: > sys/vm vm_kern.c > Log: > Allow kmem_malloc() without Giant if M_NOWAIT is specified. Hurray! Thank you! This clears the way for most network drivers to be INTR_MPSAFE (ie, Giant-free). The only exceptions are drivers like if_bge, if_ti, etc, which roll their own jumbo frames and use refcounters malloc'ed by the mbuf subsystem when calling m_extadd() or MEXTADD(). Those are easy to fix by using pre-allocated ref counters and the ext type EXT_EXTREF... Anyway, thanks again. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message