K 10 svn:author V 5 dougm K 8 svn:date V 27 2019-12-04T03:36:54.279503Z K 7 svn:log V 693 Change the implementation of bit_ffc_area_at so that, in the worst case, the number of operations spent on each b-bit word is proportional to lg b rather than b. For one word, shrink all regions of 0-bits by size-1 bit positions in no more than O(lg(min(b,size))) operations. In what remains, the first 0-bit is either the start of an area of sufficient size contained within the original word, or the start of an area that could spill over into the next word, and prove to be of sufficient size once the start of that word is examined. Change bit_ffs_area_at similarly. Reviewed by: erj, jacob.e.keller_intel.com MFC with: r354977 Differential Revision: https://reviews.freebsd.org/D22523 END