Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2022 19:48:15 GMT
From:      =?utf-8?Q?Stefan E=C3=9Fer?= <se@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 63cc3d693de7 - stable/13 - bitset.9: add description of BIT_ISSET
Message-ID:  <202203041948.224JmFBi069194@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=63cc3d693de77768e1f85f1ed66c87f42b81daec

commit 63cc3d693de77768e1f85f1ed66c87f42b81daec
Author:     Doug Moore <dougm@FreeBSD.org>
AuthorDate: 2022-01-06 12:14:18 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-03-04 19:45:51 +0000

    bitset.9: add description of BIT_ISSET
    
    Extracted from abandoned review https://reviews.freebsd.org/D33701.
    
    (cherry picked from commit 145c65fc5791d1e4a21c7653f68a55cfd1772aac)
    
    cpuset.9: add description of CPU_ISSET
    
    (cherry picked from commit eaf3c3af9c88dc63ea09833397f2bbeded16f553)
---
 share/man/man9/bitset.9 | 10 ++++++++++
 share/man/man9/cpuset.9 |  9 +++++++++
 2 files changed, 19 insertions(+)

diff --git a/share/man/man9/bitset.9 b/share/man/man9/bitset.9
index e6ce3d9b4f58..d177bea51762 100644
--- a/share/man/man9/bitset.9
+++ b/share/man/man9/bitset.9
@@ -256,6 +256,16 @@ is composed of multiple machine words,
 performs multiple individually atomic operations.)
 .Pp
 The
+.Fn BIT_ISSET
+macro returns
+.Dv true
+if the bit
+.Fa bit
+in the bitset pointed to by
+.Fa bitset
+is set.
+.Pp
+The
 .Fn BIT_SET
 macro sets bit
 .Fa bit
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 .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203041948.224JmFBi069194>