From owner-freebsd-arch Thu Dec 7 1:57: 0 2000 From owner-freebsd-arch@FreeBSD.ORG Thu Dec 7 01:56:58 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 9F94337B402 for ; Thu, 7 Dec 2000 01:56:58 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eB79upg29796; Thu, 7 Dec 2000 01:56:51 -0800 (PST) Date: Thu, 7 Dec 2000 01:56:51 -0800 From: Alfred Perlstein To: Seigo Tanimura Cc: arch@FreeBSD.ORG Subject: Re: Even 1GB KVA is not enough, but we have no more space Message-ID: <20001207015651.P16205@fw.wintelcom.net> References: <20001207013611.O16205@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tanimura@r.dl.itc.u-tokyo.ac.jp on Thu, Dec 07, 2000 at 06:47:57PM +0900 Sender: bright@fw.wintelcom.net Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Seigo Tanimura [001207 01:48] wrote: > On Thu, 7 Dec 2000 01:36:11 -0800, > Alfred Perlstein said: > > >> URI: http://people.FreeBSD.org/~tanimura/patches/vm.diff > > Alfred> in the loop you use to allocate, you never test if 'n' hits zero, > Alfred> now if there's a swap problem you won't print anything, just wedge > Alfred> hard. > > It should also be good to reject swapon(2) if swap_zone is NULL. Agreed. Since you've been pouring through this code, I'm wondering what happens when the swapper can't allocate as much as it wants? Does it just reduce the amount of swaping the machine can do? or is there a performance hit? or both? > > -- > Seigo Tanimura -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message