From owner-cvs-sys Thu May 11 20:55:11 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA28783 for cvs-sys-outgoing; Thu, 11 May 1995 20:55:11 -0700 Received: (from phk@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA28770 ; Thu, 11 May 1995 20:55:01 -0700 Date: Thu, 11 May 1995 20:55:01 -0700 From: Poul-Henning Kamp Message-Id: <199505120355.UAA28770@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_swap.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk phk 95/05/11 20:55:00 Modified: sys/vm vm_swap.c Log: I'm about to jump on the swap-initialization, and having talked with davidg about it, I hereby kill two undocumented misfeatures: The code to skip a miniroot in the swapdev is not particular useful, and if we need it we need it to be done properly, ie size the fs and skip all of it not some hardcoded size, and subtract what we skip from the length in the first place. The SEQSWAP dies too. It's not the way to do it, it doesn't work, and nobody have expressed any great desire for it to work. The way to implement it correctly would be a second argument to swapon(2) to give a priority/policy information. Low priority swapdevs can be made so by adding them at a far offset (0x80000000 kind of thing), with almost no modification to the strategy routine (in particular a offset per swapdev). But until the need is obvious, it will not be done.