From owner-freebsd-current Fri Jan 17 10: 2:33 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D96937B401 for ; Fri, 17 Jan 2003 10:02:32 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9BD643F5B for ; Fri, 17 Jan 2003 10:02:29 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id h0HI1eDx038983; Fri, 17 Jan 2003 13:01:40 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: VM_METER no longer defined? From: Joe Marcus Clarke To: Scott Long Cc: Conrad Sabatier , freebsd-current@FreeBSD.ORG In-Reply-To: <3E284083.3030504@btc.adaptec.com> References: <3E284083.3030504@btc.adaptec.com> Content-Type: text/plain Organization: MarcusCom, Inc. Message-Id: <1042826526.328.24.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 17 Jan 2003 13:02:07 -0500 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,IN_REP_TO,NOSPAM_INC,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,TO_BE_REMOVED_REPLY version=2.43 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2003-01-17 at 12:42, Scott Long wrote: > Conrad Sabatier wrote: > > > Pardon me if I missed something, but what's become of the definition of > > VM_METER? It is nowhere to be found under /usr/include. This breaks > > a few > > ports, kdebase3 being one of the most notable. > > > I've got to admit that this one slipped in under my radar. Would the > committer and submitter please give an explanation of why VM_METER > was changed? It looks like Matt did this to fix vm.vmtotal. From sys/vm/vm_param.h: Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten. (the patch in the PR was stale). It looks to have been replaced by VM_TOTAL. I fixed libgtop[2] by checking for VM_TOTAL, and using that instead of VM_METER. This seems to work. Joe > > Scott > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message