From owner-freebsd-current Mon May 13 15:42:06 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA02370 for current-outgoing; Mon, 13 May 1996 15:42:06 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA02363 for ; Mon, 13 May 1996 15:42:00 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA10822; Mon, 13 May 1996 15:39:12 -0700 From: Terry Lambert Message-Id: <199605132239.PAA10822@phaeton.artisoft.com> Subject: Re: lkm qcam To: pst@shockwave.com (Paul Traina) Date: Mon, 13 May 1996 15:39:12 -0700 (MST) Cc: terry@lambert.org, mmead@Glock.COM, current@FreeBSD.org In-Reply-To: <199605132157.OAA11515@precipice.shockwave.com> from "Paul Traina" at May 13, 96 02:57:32 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > There are no interrupts used by the driver, and there is a deinit > routine... is there a way to remove an entry from the cdevsw() > structure? It should remove itself (replacing the entries with "enodev") when it is unloaded. Typically, it unmallocs the area where the code was, but does not necesarily zero the page or anything. With standard LRU, if the thing has not be thrashed, the driver should be "good" for some time, if all the entries are still there and it has not been unhooked at all. Clearly, it's been partially unhooked, so it dies. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.