Received: by mail.netbsd.org (Postfix, from userid 605) id 9544C84EDE; Sat, 2 Dec 2017 08:15:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EF01E84EDC for ; Sat, 2 Dec 2017 08:15:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id T2ELpAs-LH0d for ; Sat, 2 Dec 2017 08:15:43 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 87FF284D1F for ; Sat, 2 Dec 2017 08:15:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7DB73FB40; Sat, 2 Dec 2017 08:15:43 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 2 Dec 2017 08:15:43 +0000 From: "matthew green" Subject: CVS commit: src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20171202081543.7DB73FB40@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mrg Date: Sat Dec 2 08:15:43 UTC 2017 Modified Files: src/sys/kern: subr_pool.c src/sys/sys: pool.h src/sys/uvm: uvm_extern.h uvm_meter.c uvm_page.c uvm_stat.c src/usr.bin/vmstat: vmstat.c Log Message: add two new members to uvmexp_sysctl{}: bootpages and poolpages. bootpages is set to the pages allocated via uvm_pageboot_alloc(). poolpages is calculated from the list of pools nr_pages members. this brings us closer to having a valid total of pages known by the system, vs actual pages originally managed. XXX: poolpages needs some handling for PR_RECURSIVE pools still. To generate a diff of this commit: cvs rdiff -u -r1.216 -r1.217 src/sys/kern/subr_pool.c cvs rdiff -u -r1.80 -r1.81 src/sys/sys/pool.h cvs rdiff -u -r1.206 -r1.207 src/sys/uvm/uvm_extern.h cvs rdiff -u -r1.66 -r1.67 src/sys/uvm/uvm_meter.c cvs rdiff -u -r1.194 -r1.195 src/sys/uvm/uvm_page.c cvs rdiff -u -r1.38 -r1.39 src/sys/uvm/uvm_stat.c cvs rdiff -u -r1.220 -r1.221 src/usr.bin/vmstat/vmstat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.