Date: Tue, 14 Feb 2023 19:29:10 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 230330] _SC_NPROCESSORS_ONLN reports offline CPUs Message-ID: <bug-230330-99-4fKPMiHpRf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230330-99@https.bugs.freebsd.org/bugzilla/> References: <bug-230330-99@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230330 Mark Millard <marklmi26-fbsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> --- 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 <adhemerval.zanella@linaro.org> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230330-99-4fKPMiHpRf>