From nobody Tue Feb 14 19:29:10 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 4PGWVG6vvFz3pt2l for ; Tue, 14 Feb 2023 19:29:10 +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 4PGWVG5tscz3sYl for ; Tue, 14 Feb 2023 19:29:10 +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=1676402950; 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=gsyvYc+kykG7rzl3VKOgfy3IXNulATieUiBC+RVK/pI=; b=fBJvnfe+WDSX71STokvFXa3nkdE5NEvMk5pLoV7AiuKQRzU/S3L5ZbwVcGlGCcQsZQjCK5 AtZqU7XG/1RsC34/P5jUE+0XD/aVuEUxNI4o6DEDCfnh7rLBEsRNXrADw1fdX+RT0Kq0dn FR/Q05tOhtjytd5FiqgYpaCax6dfsbdxdmexYU3fdtCUxcg0rc77wBs0sxkvGfYEXELlgo NM8ju1/0R1VW7q2DZPkdImSqSbaDkq9nbb3N1fLGzYrCgOBgWOh29LZHGZEiwm7BdrwdFt Usk+zDS9LTtcWAqTS7UQ7xNpSvTrkA4mmqzKkeLC0Xka1PnbbntWHsDrAmEgHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676402950; a=rsa-sha256; cv=none; b=d7rrTDSwCYzaJTpOuOFJR3IQVFHaAUF2KUWdq93yfs40fmir8NohtezUrIkVowgFW0mcOS IpsLjUHa7cyYD22CI45B58xO6exE28Ajtghu18A1LVtPYDEmlMKVOCIJtxDsg/ACofLDQA fk1ojiF7euWdHPIGkRZR0FnX4uGHD+N2LJbxUu7HhOop75DrXduf2ORueRxse0n/Z2B+FO lewGgr+DF9W7SwPtTHG62/vl0ID7IoD6d0LCWbvDfnCby4NFpiN0UuaLxxvvc5i+Mo6L48 PiWMJY7D5QSJY+Ka3qTfjWvgSGrO9ZUD2hSMQIKIhkps3nwmSD1tHknH8e1svQ== 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 4PGWVG4yH5z19cq for ; Tue, 14 Feb 2023 19:29:10 +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 31EJTAxc067971 for ; Tue, 14 Feb 2023 19:29:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31EJTAYi067970 for standards@FreeBSD.org; Tue, 14 Feb 2023 19:29:10 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 19:29:10 +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: cc 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 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #6 from Mark Millard --- Comment15 in the listed https://sourceware.org/bugzilla/show_bug.cgi?id=3D2= 7645 (for 2.34) refers to another one: https://sourceware.org/bugzilla/show_bug.cgi?id=3D28310 This is were 2.35 reverted some behavior, title: Do not use affinity mask for sysconf (_SC_NPROCESSORS_CONF) It was a request to revert: Related commit: commit 903bc7dcc2acafc40be11639767e10a2de712649 Author: Adhemerval Zanella Date: Thu Mar 25 09:30:07 2021 -0300 linux: Use sched_getaffinity for __get_nprocs (BZ #27645) Both the sysfs and procfs parsing (through GET_NPROCS_PARSER) are removed in favor the syscall. The initial scratch buffer should fit to most of the common usage (1024 bytes with maps to 8192 CPUs). Comment 1 indicates: "Fixed on 2.35." and is listed as "RESOLVED FIXED". --=20 You are receiving this mail because: You are the assignee for the bug.=