Re: [Qemu-devel] [PATCHv4 3/6] ui/vnc: optimize dirty bitmap tracking
Reviewed-by: Wenchao Xia
[Qemu-devel] [PATCHv4 3/6] ui/vnc: optimize dirty bitmap tracking
vnc_update_client currently scans the dirty bitmap of each client bitwise which is a very costly operation if only few bits are dirty. vnc_refresh_server_surface does almost the same. this patch optimizes both by utilizing the heavily optimized function find_next_bit to find the offset of the next