From owner-cvs-all Sun Oct 10 10:29:20 1999 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 1427A154AA; Sun, 10 Oct 1999 10:28:57 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id TAA15737; Sun, 10 Oct 1999 19:25:21 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Matthew Dillon Cc: Peter Wemm , "Daniel C. Sobral" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/vm vm_swap.c In-reply-to: Your message of "Sun, 10 Oct 1999 09:45:12 PDT." <199910101645.JAA16830@apollo.backplane.com> Date: Sun, 10 Oct 1999 19:25:21 +0200 Message-ID: <15735.939576321@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199910101645.JAA16830@apollo.backplane.com>, Matthew Dillon writes: >:> It's similar, but neither ccd nor vinum can guarentee non-blocking >:> operation in low-memory situations. And, anyhow, the swapper is my >:> baby. We can probably remove the external user accessible /dev/drum >:> but we aren't going to be messing with it any more then that. >: >:Cool, so you will kill /dev/drum then ? >: >:-- >:Poul-Henning Kamp FreeBSD coreteam member >:phk@FreeBSD.ORG "Real hackers run -current on their laptop." > > If you implement a means to create unassociated (i.e. no major/minor > number at all) devices, the swap device can be converted to one > internally. We aren't going to get rid of the cdevsw structure, though. > Creating totally custom I/O interfaces is never a good idea. You don't need a dev_t, in fact one or two levels of indirection through vnop/devsw can be ripped right out by calling swstrategy() directly. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message