From owner-cvs-all Mon Oct 7 20:53:54 2002 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 0FA2837B401; Mon, 7 Oct 2002 20:53:54 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B714443E75; Mon, 7 Oct 2002 20:53:53 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g983rrCo034716; Mon, 7 Oct 2002 20:53:53 -0700 (PDT) (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g983rr0b034715; Mon, 7 Oct 2002 20:53:53 -0700 (PDT) Message-Id: <200210080353.g983rr0b034715@freefall.freebsd.org> From: Warner Losh Date: Mon, 7 Oct 2002 20:53:53 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccbb pccbb.c X-FreeBSD-CVS-Branch: HEAD 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 imp 2002/10/07 20:53:53 PDT Modified files: sys/dev/pccbb pccbb.c Log: Make kldunload cbb work: o Implement the thread killing interlock as described by jhb in arch@ while talking to markm. o Hold Giant around cbb_insert()/cbb_remove(). Deep in the belly of the vm code we panic if we don't hold this when we activate the memory for reading the CIS. o If we had to do the kludge alloc, then do a kludge free. Revision Changes Path 1.58 +17 -22 src/sys/dev/pccbb/pccbb.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message