Date: Sun, 5 Feb 2023 03:06:33 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Mateusz Guzik <mjg@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: d9d5f2c042a5 - main - cpuset: add --count Message-ID: <Y98dOenW9mulqNzm@FreeBSD.org> In-Reply-To: <202302041751.314HpRrn042970@gitrepo.freebsd.org> References: <202302041751.314HpRrn042970@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 04, 2023 at 05:51:27PM +0000, Mateusz Guzik wrote: > commit d9d5f2c042a51a9f0dd69eb1fc349efd81ffa483 > > cpuset: add --count > > Can be used to count the number of hardware threads in the cpu set. > > For example: [...] > > The intent is to replace calls to sysctl hw.ncpu and kern.smp.cpus Speaking of these two, do we really need both, unless they are not exactly the same? (They do seem so, though.) ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y98dOenW9mulqNzm>