From nobody Mon Feb 13 23:53:31 2023 X-Original-To: dev-commits-src-all@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 4PG1Pr3N0jz3r9s5; Mon, 13 Feb 2023 23:53:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PG1Pr2t8Jz3jBs; Mon, 13 Feb 2023 23:53:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676332416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bYOgdFgZ1rNRyHxK4d512wex7KzTk1rFYdOHGwwnlMg=; b=BCGD3iF5jROlsxD6RwcaxfKce72klx8O2ec2cVJ47swoHZrYHEKuojI/zacUQNBNTM8A/V A3FRZjLx3Y1vcswkGa/oe3eQsq3/HwnfPKmFALmucEPYJm4K7NaU1OFvpMlT/+3m5llPov IH27XZ10W9hcT4K9avOCOUVhZqugO7Aq1YobE2lPyZpY2ivHQPFsmq/ZnocdypJSRi5jCF WRMj7+C5a6TbJM0snz3JqTT0D4+AbBDuEUgTgw0sfR0vstOwnEsWcb9E058UIM7MaYHtRc OqBKmTSL0OLxLugu0NEXUIyH001lIhL4Rl5j/zbMjTRhhTzIAYrj3xlvYuDdPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676332416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bYOgdFgZ1rNRyHxK4d512wex7KzTk1rFYdOHGwwnlMg=; b=ku6QMzgKcKWFIxM5A98u+bxLhI3fILMH/UIiODwb4O3febhN/onTWh+lYwDtOzTtH3IF8a NEVxxlI5oXpc8UV7t/IvL84o85wLKC7tZcbiaktnkmQiYMoF7AR9+WiXD19Sh9srE/EZZm Stx54p1EPOE82QNqvsnyaEfktNDp+GJFU359YWFUxaSaYeVmo1dKz20Q2/6fUuiBMSuSeG ctpuAQibQ1yJ5eiMxnpC0wlCdkVz5gEFw8h7peyHc6vlmPMFYX1Og4WpxQQf7bFlnAjUiG 5S5TqHtG7jlf9YJmLBhucKA4xz8j6tdr7fPewf5CgQuLr7O0cjsQKTwsWXF5OQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676332416; a=rsa-sha256; cv=none; b=iD2YBtdiCoI0xVHP8QUyVad8U+8ZRaBlY/6kn0Gb53H0JAzq1qSlbEf4jlG5LANvujHT4g laEsznruNUSvm0yRU+rgwldn2DJUO8jOLtMEK3Npv2f6EJw4i4hZzwG9CxAuFCFho3RCNd QLo9TQkXXOztqQirOou8C7iYXcFHh4HIUqAMJmwDK2EEHG5lvMCPt3y1pZFbBjRsMoNYAa smRpEuPmgw3+FW/RjbCiU3dRnl/uXJFPgstOjs8hUFx6bI7HTNEYaiYPFbzdiVQgsmcn6R FiO57RRKU5JaxMYDLKtVLmQ3GyYgRvAZ3E4+jVIE2Soju8XoZ+5nNndQoapuog== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 4380B1A273; Mon, 13 Feb 2023 23:53:36 +0000 (UTC) From: Jan Beich To: Mateusz Guzik Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 48bfd3597654 - main - Add nproc(1) In-Reply-To: <20230208202736.L7hpB%steffen__28609.3347867549$1675888077$gmane$org@sdaoden.eu> (Steffen Nurpmeso's message of "Wed, 08 Feb 2023 21:27:36 +0100") References: <202302081947.318Jlbt6052826@gitrepo.freebsd.org> <20230208202736.L7hpB%steffen__28609.3347867549$1675888077$gmane$org@sdaoden.eu> Date: Tue, 14 Feb 2023 00:53:31 +0100 Message-ID: <1qmt-6s1w-wny@FreeBSD.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Steffen Nurpmeso writes: > |+ if (all_flag) { > |+ cpus = sysconf(_SC_NPROCESSORS_ONLN); > > is not compatible -- note i like the FreeBSD way better, and maybe > someone should make a bug report even. > > #?0|kent:$ getconf -a|grep NPROC > _NPROCESSORS_CONF 8 > _NPROCESSORS_ONLN 4 See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230330 $ cpuset -l 2-5 -- getconf -a | fgrep _NPROC _NPROCESSORS_CONF: 8 _NPROCESSORS_ONLN: 4