From nobody Mon Feb 14 15:06:13 2022 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 7830E19B3BD6; Mon, 14 Feb 2022 15:06:13 +0000 (UTC) (envelope-from git@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 4Jy6xK2mG0z3CrF; Mon, 14 Feb 2022 15:06:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644851173; 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; bh=B56A50+b4GKWPcWS8Leu1zuEvjiUCe44PRchNTEfCfc=; b=uHKEfxZFaNkULj0WfGDB7szpoIBnaaikyxnhVIcVEaPVa4Wfbywc1UdLV1VIdMApLhqqso zRCImMAFCUA5GanG0QOAjUy+JOs9ybFbkNzcR+zTtT2a8dDUZL8nxph2KRXbbWyMdJedBi CF6ZEyu6z6j6xE9XxymFAavrmI5SSVJZ0hye5+oFnmEuaJt218VJbTHLCxhNGaZeTWvg2M fFMsJqkXQ2rfvEQwrZQzHgLmqwBB6Wnw1rhn08o2+AaO6emdnTarc9D6heD6WhyudacXSo mAASozDaM0NAMDjMkR3gcu4GYvVlOWlIFEhyrXPZ26StY1Ds1CSruMYTSAp1gw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 3EABC10EE6; Mon, 14 Feb 2022 15:06:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21EF6D08059867; Mon, 14 Feb 2022 15:06:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21EF6DDL059866; Mon, 14 Feb 2022 15:06:13 GMT (envelope-from git) Date: Mon, 14 Feb 2022 15:06:13 GMT Message-Id: <202202141506.21EF6DDL059866@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Stefan E=C3=9Fer?= Subject: git: eaf3c3af9c88 - main - cpuset.9: add description of CPU_ISSET() 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; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eaf3c3af9c88dc63ea09833397f2bbeded16f553 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644851173; 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; bh=B56A50+b4GKWPcWS8Leu1zuEvjiUCe44PRchNTEfCfc=; b=LeMk6EHu9ezB7mziAnYMXUN8JMS4lXCJFLZfLfJnFQcW7KMyg53x7ov9c9m23QOVr6FLRS r4yLl8AIyND/ZkwRwJvO1QGdWPS2ULwMKLi+Jv1VUKNHyC8rdwzACOiaDBkOPowaS9+gXW EbytTzAq/TTpn8TnZ59UjrTgWf2nqq+GrJu7+rrkUZBbxI7iDB3PekkoXew54KkUOQeM1v F1V11zimFWCptU3wVBkl4zbNrcbRvphDBk2xqtsDUJ2UATCzT5kNBnIzeXe3p1LqNogmGa e+L3fK1XllptJoPn/LC3djpYOdi3nPo0kPhHCdw0Wkz9aMFY8R2V7AwpaS/DPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644851173; a=rsa-sha256; cv=none; b=OEJjjYSCNOWA/5SCxXTdUWIme/0Fl9zvaH/0SNMALizqtWcN0hQ6nL4FvwFU1IK/eCidTP K3etn23ytOk3gN/kNhBJGxMQu2oivbWokTNtzo3wOvjyRFiNY6RJl4/0+xP2X++SWLWRuS 04X2/8csU2Knkgf/5dwkDEUggtiV0YWYw+UvmfHoe4iDdcQlebeEs++4TKZd/vIk7GdZpH oyNLdpNsC2sb56EezBJdVBSPxuR6Ucs4LnYq51ULCqdxhUQdb2Sf7Ro/xxmtmGXZQnEZxk UOrav7iW/kd9XEOdr3SfcTjd3fdd/X6BIszbVDM2wxpkX1Jo+xyt9+LH6bYN0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=eaf3c3af9c88dc63ea09833397f2bbeded16f553 commit eaf3c3af9c88dc63ea09833397f2bbeded16f553 Author: Stefan Eßer AuthorDate: 2022-02-14 14:59:37 +0000 Commit: Stefan Eßer CommitDate: 2022-02-14 14:59:37 +0000 cpuset.9: add description of CPU_ISSET() PR: 261947 Reported by: thmu7 at freenet.de (Thomas Mueller) MFC after: 3 days --- share/man/man9/cpuset.9 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/share/man/man9/cpuset.9 b/share/man/man9/cpuset.9 index 92b759b438a3..29dbc8fc733b 100644 --- a/share/man/man9/cpuset.9 +++ b/share/man/man9/cpuset.9 @@ -178,6 +178,15 @@ The macro sets the bit representing the CPU with atomic acquire semantics. .Pp The +.Fn CPU_ISSET +macro returns +.Dv true +if CPU +.Fa cpu_idx +is a member of the cpuset pointed to by +.Fa cpuset . +.Pp +The .Fn CPU_ZERO macro removes all CPUs from .Fa cpuset .