Move to ffs(3) for bitmask scanning. I played with this earlier,
authorotto <otto@openbsd.org>
Thu, 18 Jan 2018 08:37:28 +0000 (08:37 +0000)
committerotto <otto@openbsd.org>
Thu, 18 Jan 2018 08:37:28 +0000 (08:37 +0000)
commit09243208743656306a79298b19429bb9301bf57b
tree79f9ac54c0454a702645b91b34ba9ce5a089adf4
parentae3cb403620ab940fbaabb3055fac045a63d56b7
Move to ffs(3) for bitmask scanning. I played with this earlier,
but at that time ffs function calls were generated instead of the
compiler inlining the code.  Now that ffs is marked protected in
libc this is handled better.  Thanks to kshe who prompted me to
look at this again.
lib/libc/stdlib/malloc.c