Add a bit_count function, which efficiently counts the number of bits set in a
bitstring.
sys/sys/bitstring.h
tests/sys/sys/bitstring_test.c
share/man/man3/bitstring.3
Add bit_alloc
sys/kern/subr_unit.c
Use bit_count instead of a naive counting loop in check_unrhdr. The
userland test runs about 6x faster in a generic build, or 8.5x faster
when built for Nehalem, which has the POPCNT instruction.
tests/sys/kern/Makefile
Remove a CFLAG that's been unnecessary since 299090.
sys/sys/param.h
Bump __FreeBSD_version due to the addition of bit_alloc
UPDATING
Add a note about the ABI incompatibility of the bitstring(3) changes