Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 1999 19:25:21 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Peter Wemm <peter@netplex.com.au>, "Daniel C. Sobral" <dcs@newsguy.com>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/vm vm_swap.c 
Message-ID:  <15735.939576321@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 10 Oct 1999 09:45:12 PDT." <199910101645.JAA16830@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15735.939576321>