From nobody Thu Dec 4 19:53:20 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dMlYX6ndnz6JdDr for ; Thu, 04 Dec 2025 19:53:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dMlYX4dGpz3syY for ; Thu, 04 Dec 2025 19:53:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764878000; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Fm5EQZ+IUUJDGVnxDj+ays2HKkOiRBZkc6uAtqy5MTs=; b=CUVYCi7WoUW554mTZC7O+FxzEC96pKOHWCq2PTQ0aMURS25QdUA7rdIThv4cHPAXEY6KuP ZMjXJ+QtPqxSS0v2Mt8hivmtAgdnYwH9RSGBorCB/4FD+mlB++8czyU9C7I05rofYUNkX2 uGqKyaf9juxBML3/0/KBPYyHu0j+4WjZmr3lhN09j3GGD2dVlKEi/aunX6NgtbcM4BrOqn 49mIlTMR3rkqtz0NJh74HdyL7EmSC2wpNiPwLKI4vSYLPewad9kHihp32OF6NlcsEqDh4y L3ULYcP2xMIURWNZuemKYluD8hSadusu/kgseE2iCzKp/+VbYjjwKlHe16/UOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764878000; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Fm5EQZ+IUUJDGVnxDj+ays2HKkOiRBZkc6uAtqy5MTs=; b=Yo1KpgUet410d3CZgbR6l2HbNoKXABDE6LkN5zhZrqmWXoPnxxVm7bm0coFXXak6nDNxlR H3gX76H0njfV1S3ctlKwU56z4LAON00jSete3vcL8LnOtzg2gM0dBRRFhMLZA0IanyczPb NQhIilsQ0zODGoJCNsyiOJtP91EW8UseZYsSZMqTq6l+jsOu4bIr4ZKerbpv8PKFcKTsxt j53D12aZ9QcfzZC0Dw/bOPaP769DfRXXfEZr54GSlzN3MWF0bmCWNKuil+UhCYHwoQNez6 4eR1w9ZSaCYhdj759ZysoGFaVaHJzj5A2stMAfUbv335RSuMWo0DlJa73gL/lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764878000; a=rsa-sha256; cv=none; b=AtpslSR7S1dBn4g5XssHKe12QjYiL0ibQlPuNN+wTh4striesDSNx011h4kujOQebG7O07 BFy9bcOhc7NHFrPv3peRhWBOmtlgGPEtCrKfkm5sNKwqt4BOu7rT9KJe470ieF7ZjfC7+4 PwphY0qFYJq04PBd8KYQRi5Mfx4P/nIAeNJbpIbZF7miuo1KyFnsW9Xiorig9GpI+WHCHp VyEl5zCVWWpDHLGdtB1QnnP0AicW6jtXoLDlz+hmZIpMhTPka+zJdUao0d/6CyQuOWhNRJ mJYrTREDBKYm3j2j1RMvJ7qVw5FtvnLpcbJ08Tskw6cHh1Auw51TS5AS6zq8Lw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dMlYX3gM3zdwJ for ; Thu, 04 Dec 2025 19:53:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 256ae by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 04 Dec 2025 19:53:20 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: f6910b09a230 - main - sys: Remove/update references to the swapper process in various comments List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f6910b09a2302df9b3b1666deb89037c831a4e4c Auto-Submitted: auto-generated Date: Thu, 04 Dec 2025 19:53:20 +0000 Message-Id: <6931e6b0.256ae.5c527950@gitrepo.freebsd.org> The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f6910b09a2302df9b3b1666deb89037c831a4e4c commit f6910b09a2302df9b3b1666deb89037c831a4e4c Author: John Baldwin AuthorDate: 2025-12-04 19:52:59 +0000 Commit: John Baldwin CommitDate: 2025-12-04 19:52:59 +0000 sys: Remove/update references to the swapper process in various comments Reviewed by: olce, markj Differential Revision: https://reviews.freebsd.org/D54051 --- sys/arm/arm/pmap-v6.c | 2 +- sys/i386/i386/pmap.c | 2 +- sys/sys/proc.h | 2 +- sys/sys/sleepqueue.h | 5 +---- sys/vm/vnode_pager.c | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/sys/arm/arm/pmap-v6.c b/sys/arm/arm/pmap-v6.c index 6a0ece1e4d98..d67267bba4e2 100644 --- a/sys/arm/arm/pmap-v6.c +++ b/sys/arm/arm/pmap-v6.c @@ -2158,7 +2158,7 @@ SYSCTL_PROC(_vm, OID_AUTO, kvm_free, ***********************************************/ /* - * Initialize the pmap for the swapper process. + * Initialize the pmap for proc0. */ void pmap_pinit0(pmap_t pmap) diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 1cf0867d57c3..2f9e6ccf43a8 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -2026,7 +2026,7 @@ pmap_abort_ptp(pmap_t pmap, vm_offset_t va, vm_page_t mpte) } /* - * Initialize the pmap for the swapper process. + * Initialize the pmap for proc0. */ static void __CONCAT(PMTYPE, pinit0)(pmap_t pmap) diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 8c0729d3ec66..23b052e21063 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1081,7 +1081,7 @@ extern int allproc_gen; extern struct sx proctree_lock; extern struct mtx ppeers_lock; extern struct mtx procid_lock; -extern struct proc proc0; /* Process slot for swapper. */ +extern struct proc proc0; /* Initial kernel process. */ extern struct thread0_storage thread0_st; /* Primary thread in proc0. */ #define thread0 (thread0_st.t0st_thread) extern struct vmspace vmspace0; /* VM space for proc0. */ diff --git a/sys/sys/sleepqueue.h b/sys/sys/sleepqueue.h index f28a7f75a50c..25b345f46a81 100644 --- a/sys/sys/sleepqueue.h +++ b/sys/sys/sleepqueue.h @@ -54,10 +54,7 @@ * be removed from a specified sleep queue using the sleepq_remove() * function. Note that the sleep queue chain must first be locked via * sleepq_lock() before calling sleepq_abort(), sleepq_broadcast(), or - * sleepq_signal(). These routines each return a boolean that will be true - * if at least one swapped-out thread was resumed. In that case, the caller - * is responsible for waking up the swapper by calling kick_proc0() after - * releasing the sleep queue chain lock. + * sleepq_signal(). * * Each thread allocates a sleep queue at thread creation via sleepq_alloc() * and releases it at thread destruction via sleepq_free(). Note that diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 244aa31ea703..9693cb15f80d 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -1264,7 +1264,7 @@ vnode_pager_putpages(vm_object_t object, vm_page_t *m, int count, * Force synchronous operation if we are extremely low on memory * to prevent a low-memory deadlock. VOP operations often need to * allocate more memory to initiate the I/O ( i.e. do a BMAP - * operation ). The swapper handles the case by limiting the amount + * operation ). The swap pager handles the case by limiting the amount * of asynchronous I/O, but that sort of solution doesn't scale well * for the vnode pager without a lot of work. *