From nobody Tue Feb 14 20:32:49 2023 X-Original-To: standards@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 4PGXvk0yF4z3pxjx for ; Tue, 14 Feb 2023 20:32:50 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PGXvj72gqz41h6 for ; Tue, 14 Feb 2023 20:32:49 +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=1676406770; 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: in-reply-to:in-reply-to:references:references; bh=q2nMu2aN/Jv8ZUaMHW4IOSYmpA2OEvRAPy3cYb7sHTE=; b=tBvENpU0vHDLHv2c3CSx3gPhYWpnBvB9Kb7jBji1X6A16uLd6ZWAutmJojPg9As2SRKiO3 +qKar1p7uwCJdxqaIss+Gs/RmfI4rz5hbPNpXHUldcP1uPdFCd2DXI+j0jNFwKQlKlTsmm aOliXQq4GjwXPM7eD539tS/FCdMzD4McZOIuuWRqg7dOLRY5JFE7/0exNZYvCUx0z0yhD0 m/0A1QLxDre47/0VXSTyHfl6AvvDkubKvS5K+UhYta7voXbhWVYSPcu+/s1yc31+OtMTzS 9ZB1HgE2VWA5Iuyfh29tRc61qdpx6Btf3HMt4UPf4exNuMvMUg2YJhld+QZOkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676406770; a=rsa-sha256; cv=none; b=qlGgqfBuP3YjzDHKyR8A4HhvsWOHDKfJBR2UUe/4P8o10HH2MGom6tce9bjc8voAd/gIIP mR3S5OKllUia5zK88JCczHdouW+aSHdlVQGqVKqkBbJpGUeMk8rSPP4xApF9sBIgHByDPs G2lakEWBQnyGn16FpsXIXLWDmx0adoT4L7Tn/M+4Jlzuy2ZhVoiPPBzFI8TuqnPDsy2drJ 0WILGZcU0pLbjZ0eZFBrqMOnCvZTQDHZ1NxL1tb1PVCaZlBMwWK5NFtt0cRLU4sT2f+e8c l93nrmG5gsQwMLE7TejZsXTCBeM3Nv6Mk5AT5kuvLQ2bBDVCBZCgUzgpwedayQ== 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 4PGXvj66xfz1CHp for ; Tue, 14 Feb 2023 20:32:49 +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 31EKWn9V067560 for ; Tue, 14 Feb 2023 20:32:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31EKWnZ7067559 for standards@FreeBSD.org; Tue, 14 Feb 2023 20:32:49 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: standards@FreeBSD.org Subject: [Bug 230330] _SC_NPROCESSORS_ONLN reports offline CPUs Date: Tue, 14 Feb 2023 20:32:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230330 --- Comment #11 from Mark Millard --- (In reply to Jan Beich from comment #8) I had to look up what a Solaris Zone is: "A zone is a virtualized operating system environment created within a sing= le instance of the Solaris OS." And: "Oracle Solaris Zones, previously known as Solaris Containers, are an integral part of the Oracle Solaris 10 operating system (OS). Zones isolate software applications and services using flexible software-defined boundaries. You can use zones to create private execution environments within a single instance of the Oracle Solaris 10 OS. Each environment has its own identity that is separate from the underlying hardw= are. Each environment behaves independently as if running on its own system, mak= ing consolidation simple, safe, and secure." Looking at the implementation referenced, unless one deliberately creates an whole "virtualized operating system environment", one does not get zone results. It looks to me like processor_affinity, for example, is available for both in-a-zone and not-in-a-zone styles of use. This affinity does not seem to contribute to the results for _SC_NPROCESSORS_ONLN or _SC_NPROCESSORS_CONF . So, a more complicated analogy to form in trying to compare Solaris. --=20 You are receiving this mail because: You are the assignee for the bug.=