On Tue, Mar 03, 2026 at 11:47:52AM +0100, Marc-André Lureau wrote: > We can still iterate with 2M granularity after this patch. However, it > may be less effective than iterating using find_next_bit(). Whether > this is noticeable remains to be seen.
IIUC when in extreme scattered cases the results should be similar, say, when the bitmap (2M for each bit) is 10101010....10101b. OTOH the worst case scenario here is when e.g. the whole region is fully populated. So.. if we have any concern, maybe we could run a VFIO population test on non-CoCo, before or after this patch, having the whole region requested available (so a bitmap with 111111111....111111b). Thanks, -- Peter Xu
