Matthew Wilcox wrote:
The radix tree convention is objectively awful, which is why I'm workingI'm ready to propose cvbmp shown below as an alternative to xbitmap (but
to change it. Specifying the GFP flags at radix tree initialisation time
rather than allocation time leads to all kinds of confusion. The preload
API is a pretty awful workaround, and it will go away once the XArray
is working correctly. That said, there's no alternative to it without
making XBitmap depend on XArray, and I don't want to hold you up there.
So there's an xb_preload for the moment.
specialized for virtio-balloon case). Wei, can you do some benchmarking
between xbitmap and cvbmp?
----------------------------------------
cvbmp: clustered values bitmap