From nobody Sun Oct 06 18:17:13 2024 X-Original-To: doc@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 4XM9VL1Zj0z5YNd5 for ; Sun, 06 Oct 2024 18:17:14 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XM9VL0WMLz4RL2 for ; Sun, 6 Oct 2024 18:17:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728238634; 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=nKsBk0EFK/0fUjipOw9leECIO8vIQQeVXiDQRxviO6g=; b=ugIfW5xVHxzDrX80gUiQy2npxHluRN9CQRnTYKX9DoIQwDRaNdvadDkGwcofndkeht4yLH ZPLMr777rjropq3GpyPIzB8YQWL43IkROHt6jK/ITSUExLbV00d0RedbWekgOzWJWQytcN 0KjTaKXb8v90Sg2IqQCsaXW+ROxqw67kv5qMQh3wYjrL7hsVmJ8JtYpAo7+f8LfkAfKYFN krWCAgsSJW1MZaPnNe4L9a4NUi1Fmvl1rOW1EgqVWNidwIpzl/iWDtvzOmqikHQfg4yokF 4TL7dFlP7OGm4zEbjtLUfG8OKBy3jJsmZgw/Qu6SfST9tazGLTOiLhoFI9m2gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728238634; a=rsa-sha256; cv=none; b=Z9NS41W6vltEPT4mwO0W5m3CvHmupBMpS18Nd4FzH1lfqcDDE48SGyUR0yzBnY5SngIV0w WVAO6EMhKqjeimcbDRvUgSaaK6BwWIZKQJUeUAYHrZRmm1pgVoDBz8iNmA8RoD+vvrcjUX ldRLrnrfIpWfw9fGPZU9CgOXsz/etN/zIOaH0RdYfCTUh/O8Av06GIXPVGXTI1ti9dr1G6 ZrH2LyjgRPx26lyzyFttsedSXvU6yPUx8hd36YwA0MrBATAIDfYFTDqdDArVLiC9EvQKow gHqCuo1SxfJHTYsHQzpbi6m5/ay35bwSf1mqSE+vZ0ShCdkP9GArtEx7BakTwA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XM9VL06Tkz1CLJ for ; Sun, 6 Oct 2024 18:17:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 496IHDhr007282 for ; Sun, 6 Oct 2024 18:17:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 496IHDNK007281 for doc@FreeBSD.org; Sun, 6 Oct 2024 18:17:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 281903] pmap_active_cpus(8): man page needed Date: Sun, 06 Oct 2024 18:17:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281903 Bug ID: 281903 Summary: pmap_active_cpus(8): man page needed Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: emaste@freebsd.org CC: doc@FreeBSD.org For reference see: commit 8882b7852acf2588d87ccb6d4c6bf7694511fc56 Author: Konstantin Belousov Date: Fri Oct 8 01:25:54 2021 +0300 add pmap_active_cpus() For amd64, i386, arm, and riscv, i.e. all architectures except arm64, the custom implementation is provided since we maintain the bitmask of active CPUs anyway. Arm64 uses somewhat naive iteration over CPUs and match current vmspace' pmap with the argument. It is not guaranteed that vmspace->pmap is the same as the active pmap, but the inaccuracy should be toleratable. Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32360 --=20 You are receiving this mail because: You are on the CC list for the bug.=