]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bitset: rename confusing macro NAND to ANDNOT
authorrlibby <rlibby@FreeBSD.org>
Fri, 13 Dec 2019 09:32:16 +0000 (09:32 +0000)
committerrlibby <rlibby@FreeBSD.org>
Fri, 13 Dec 2019 09:32:16 +0000 (09:32 +0000)
commitdbf795e374d699ff468ad21c4095cfdb1c9c3936
tree77421267d63afcb028c5feb4d28f6a246700d063
parent917a0b75afd7e91cea0edd4e18124414e49af0f7
bitset: rename confusing macro NAND to ANDNOT

s/BIT_NAND/BIT_ANDNOT/, and for CPU and DOMAINSET too.  The actual
implementation is "and not" (or "but not"), i.e. A but not B.
Fortunately this does appear to be what all existing callers want.

Don't supply a NAND (not (A and B)) operation at this time.

Discussed with: jeff
Reviewed by: cem
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22791
14 files changed:
share/man/man9/Makefile
share/man/man9/bitset.9
share/man/man9/cpuset.9
sys/i386/i386/vm_machdep.c
sys/kern/kern_cpuset.c
sys/kern/kern_rmlock.c
sys/kern/sched_4bsd.c
sys/kern/sched_ule.c
sys/kern/subr_kdb.c
sys/sparc64/sparc64/mp_machdep.c
sys/sys/bitset.h
sys/sys/cpuset.h
sys/sys/domainset.h
sys/x86/x86/cpu_machdep.c