From nobody Fri Dec 19 15:32:11 2025 X-Original-To: dev-commits-src-branches@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 4dXs3J1L7hz6LtK5 for ; Fri, 19 Dec 2025 15:32:12 +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 4dXs3H5Nrvz3YxV for ; Fri, 19 Dec 2025 15:32:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766158331; 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=Mcy7k6C760WA4mUsXkW90qwuqg/rkfM8ptg05y3aod0=; b=XIqQPzRtcOQewQRDRTKAEtkPkyJmeY/24ySFHHwTw0VwFH5WdZojK9YYLb6VhxhqRaS51/ EJ4+Ef2zkCZ+awCHVrmPGzX9wxOTInDWjL1Z9nXaAt5ujGVx3eo+RxUtWNi7E0Ens6MqTq PgkAH2DX97OMOnToOoqw3OP/y0We2ORosvooYoQDJB9uYhPtrpdD73sSK4ve6dA8cSwGeh WAmDHeXCRyqRR97Kds9Xe6Nlj6S+K4NsyL0NNlcThBtfr2Swrih+lOG4JR+9xR/UitXZ4u 7bI6bMoqJ84AOUp09Fivosy91LDM/zZtjaYBFhnqBhCKgruX7WqXGuzLVKJ1fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766158331; 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=Mcy7k6C760WA4mUsXkW90qwuqg/rkfM8ptg05y3aod0=; b=G/vywuD4bCAbMGOpDZ8I8mw48xoynwXfz6D1tkUOAl2zhbfjijYVSGT3e3Tn009Rm1PAQ0 O/JmggZDfQHgaz6wERkzzVp4SKmXyJvgIFlZlRmZH9f5Lf+s3hft6+eVFrxIYaDnxVfqNG cfdGhs7y9y+laNKUvniuRWNM/IdwXC0mBVwHJUrkKV+4rejM3dFAzMjJpwUnoooy8m/e4q ZL4VriTprUpF/5MI/Mb5hK1gM3H8qfvCtvYRkhdOk2H9hEtzueMYszZju2zn/+9blX3yKi sUvlEx7mvyAQOsV8MA9ddcbQM4dDAubNLlfgfdLnIxPhuuuJPOYhFZg+TuExww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1766158331; a=rsa-sha256; cv=none; b=FOrrwQnQl7EJ4flTnp02itgmnp9P7ZmJFFEHbtDopOIC0mud95X0br8IwsCG/1nknNey72 rKRU5q7NzDDdy/kbGpwmCiIpy6bd2HBnUcw6p7QhhpCtPLP7/Dzp5OnZn+qQhq3qsYE9gO kpfvtvQf6qZGi/0ORPcaC6BBu3u+geiDBDXp9TkyFSSwMCX5lmBVcEAf7xRE/6SN1tzvyZ 2eTuyusgbn4Vce+yUBoRZ8TIinMcdqdG4JmOAszbWDItZINkqOH1GHf+aqrLqtL1R2fW6O i6qxzpOr1vlKCQmcnGXPr9SJJuQPUYQvDMMWthlhqRiBg1wXBpP2RTMO+hDztg== 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 4dXs3H4hjjzDl for ; Fri, 19 Dec 2025 15:32:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 44704 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 19 Dec 2025 15:32:11 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 6cafc75b3930 - stable/15 - sys: Remove/update references to the swapper process in various comments List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 6cafc75b3930753c611c0ad86a00305bf3d202b2 Auto-Submitted: auto-generated Date: Fri, 19 Dec 2025 15:32:11 +0000 Message-Id: <69456ffb.44704.515cf224@gitrepo.freebsd.org> The branch stable/15 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6cafc75b3930753c611c0ad86a00305bf3d202b2 commit 6cafc75b3930753c611c0ad86a00305bf3d202b2 Author: John Baldwin AuthorDate: 2025-12-04 19:52:59 +0000 Commit: John Baldwin CommitDate: 2025-12-19 15:19:44 +0000 sys: Remove/update references to the swapper process in various comments Reviewed by: olce, markj Differential Revision: https://reviews.freebsd.org/D54051 (cherry picked from commit f6910b09a2302df9b3b1666deb89037c831a4e4c) --- 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 78883296c5b7..ff36ec974221 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 b44f5e08bbcf..b6c2fcb99393 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 9140cee56885..81f0d41d6a6f 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. *