From owner-freebsd-hackers Fri Jan 17 15:27:32 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E338537B401 for ; Fri, 17 Jan 2003 15:27:31 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-224.client.attbi.com [12.233.57.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5134143F6D for ; Fri, 17 Jan 2003 15:27:31 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h0HNRUbZ006056; Fri, 17 Jan 2003 15:27:30 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h0HNRT21006055; Fri, 17 Jan 2003 15:27:29 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Fri, 17 Jan 2003 15:27:29 -0800 From: David Schultz To: Mark Santcroos Cc: hackers@FreeBSD.ORG Subject: Re: nswap Message-ID: <20030117232729.GA5908@HAL9000.homeunix.com> Mail-Followup-To: Mark Santcroos , hackers@FreeBSD.ORG References: <20030117000917.GA7277@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030117000917.GA7277@laptop.6bone.nl> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Mark Santcroos : > in : > extern int nswap; /* size of swap space */ > > in : > static int nswap; /* first block after the interleaved devs */ > > Is the extern pointing to this variable? (It seems so, don't see any other > such variable in the three) > If so, is there any problem with making nswap non-static? It's a constant that is only relevant to the management of the swap allocation bitmap, so it is properly static. It shouldn't be declared in sys/systm.h. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message