History | View | Annotate | Download (3.8 kB)
bitops: unroll while loop in find_next_bit()
this patch adopts the loop unrolling idea of bitmap_is_zero() tospeed up the skipping of large areas with zeros in find_next_bit().
this routine is extensively used to find dirty pages inlive migration.
testing only the find_next_bit performance on a zeroed bitfield...
bitops: Replace bitops_ctol with ctzl
The is the only remaining user.
Signed-off-by: Richard Henderson <rth@twiddle.net>Reviewed-by: Eric Blake <eblake@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
bitops: Inline bitops_flsl
This is the only remaining user.
bitops: Use non-bitops ctzl
The use of ctz has already eliminated zero, and thus the differencein edge conditions between the two routines is irrelevant.
bitops: unify bitops_ffsl with the one in host-utils.h, call it bitops_ctzl
We had two copies of a ffs function for longs with subtly differentsemantics and, for the one in bitops.h, a confusing name: the resultwas off-by-one compared to the library function ffsl....
build: move libqemuutil.a components to util/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>