From nobody Mon Feb 13 23:45:36 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 4PG1Dc6mGBz3r8g4 for ; Mon, 13 Feb 2023 23:45:36 +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 4PG1Dc5ZYMz3hcQ for ; Mon, 13 Feb 2023 23:45:36 +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=1676331936; 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=m2dax29IVzggSzle/fEkG+ittrgZDdoFQ03g9V8WRNQ=; b=oNDbfECqJY+79zi9WBVf8ay+OBVEud+BlxmeVJQV6FEpRspVLNHOxpIqGzTx3/67oZARwx RnJfB3YsFrjFEiZ5EVqALR6WZxmAi/cu7SxO9bCchoVfODKZqPFNpXion0aAICfU2jLHx+ ma9lY7NSpNRmJfI/yMyDM6o3g+F7GkAjyZUIyMHDrziD0XIWvLsZRGSmkBuq1M/QoP121G zRrArFMJEtTFYuwszVWnm4frGr/69fHO3CFZEskoc5tnQVx2zCImoWkDrirV9mDDDFKnm1 tbJTjgfikBAkaTGtJmTkjtEiQtSbSVuyvFzyeFNjST+wnDIyAZ2z4PmFjuMRwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676331936; a=rsa-sha256; cv=none; b=eVHV2akH6X3lMJZmmfOHB+LEnifFeiYrxoWOUXXmmm/A9lw2E6jsFKB3tHWi1OM0P1I+u3 cGzxY3jM84ThDWlryV0gDeU1xRBG/tz8xv28gXaVChObS5l691pZsDtZL1bshbLA4bblTr Y33RC5gfbjFt2tcwJWQnq2EeGqf4LRCZg4ooT1/AqX2jd5DB8Q5g/g9w5dgY9/R8EVzcL/ eZwOncYcWl0ujtYyaY/jnUb3Krfdb8dPEgmwCMei71QVzgNOp73l3Jwzrq57/3xLSi/bZp WssaZvi2oE1dghJ87BUE/+DtxxXgIIV9Tq2l7sez4xa9O/VJIu2Mwiv5azphSA== 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 4PG1Dc4dgGzdSW for ; Mon, 13 Feb 2023 23:45:36 +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 31DNjap4061278 for ; Mon, 13 Feb 2023 23:45:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31DNjaPu061277 for standards@FreeBSD.org; Mon, 13 Feb 2023 23:45:36 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: Mon, 13 Feb 2023 23:45:36 +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: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #195819|0 |1 is obsolete| | --- Comment #3 from Jan Beich --- Created attachment 240141 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240141&action= =3Dedit v2 - switch _SC_NPROCESSORS_ONLN to cpuset_getaffinity(), similar to musl/glibc - switch linsysfs to CPU_FOREACH as suggested by kib@ --=20 You are receiving this mail because: You are the assignee for the bug.=