From owner-cvs-all Wed Nov 17 22:55:43 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 37F5514EE2; Wed, 17 Nov 1999 22:55:41 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA97106; Wed, 17 Nov 1999 22:55:41 -0800 (PST) (envelope-from peter@FreeBSD.org) Message-Id: <199911180655.WAA97106@freefall.freebsd.org> From: Peter Wemm Date: Wed, 17 Nov 1999 22:55:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c swap_pager.h vm_swap.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/11/17 22:55:41 PST Modified files: sys/vm swap_pager.c swap_pager.h vm_swap.c Log: Remove the non-functional "swap device" userland front-end to the multiplexed underlying swap devices (/dev/drum). The only thing it did was to allow root to open /dev/drum, but not do anything with it. Various utilities used to grovel around in here, but Matt has written a much nicer (and clean) front-end to this for libkvm, and nothing uses the old system any more. The VM system was calling VOP_STRATEGY() on the vp of the first underlying swap device (not the /dev/drum one, the first real device), and using the VOP system to indirectly (and only) call swstrategy() to choose an underlying device and enqueue it on that device. I have changed it to avoid diverting through the VOP system and to call the only possible target directly, saving a little bit of time and some complexity. In all, nothing much changes, except some scaffolding to support the roundabout way of calling swstrategy() is gone. Matt gave me the ok to do this some time ago, and I apologize for taking so long to get around to it. Revision Changes Path 1.128 +8 -8 src/sys/vm/swap_pager.c 1.27 +5 -1 src/sys/vm/swap_pager.h 1.90 +4 -76 src/sys/vm/vm_swap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message