NetBSD Problem Report #60115

From www@netbsd.org  Sun Mar 22 12:13:48 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "R12" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4037A1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 22 Mar 2026 12:13:48 +0000 (UTC)
Message-Id: <20260322121347.467D31A923D@mollari.NetBSD.org>
Date: Sun, 22 Mar 2026 12:13:47 +0000 (UTC)
From: imuwoto@gmail.com
Reply-To: imuwoto@gmail.com
To: gnats-bugs@NetBSD.org
Subject: uvm stats for page in/out are inconsistent
X-Send-Pr-Version: www-1.0
X-From4GNATS: "imuwoto@gmail.com via gnats" <gnats-admin@NetBSD.org>

>Number:         60115
>Category:       kern
>Synopsis:       uvm stats for page in/out are inconsistent
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 22 12:15:00 +0000 2026
>Originator:     YAMAMOTO Takashi
>Release:        -current
>Organization:
>Environment:
>Description:
we have several uvm stats about page in/out.
they are quite inconsistent:

           | unit    | include aobj? | notes
-----------|---------|---------------|--------
nswget     | page    | yes           |
pageins    | page    | no            |
pdpageouts | cluster | yes           |
pgswapin   | -       | -             | unused
pgswapout  | page    | yes           |

>How-To-Repeat:
code inspection
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.