Re: Re: [PATCH 0/2] rnull: support 64K pages

From: Vitaly Wool

Date: Wed Dec 02 2026 - 12:24:37 EST


> > rnull does not build with 64K pages: NullBlockPage keeps the status of
> > a page's sectors in a single u64, and a static assertion limits pages
> > to 64 sectors, while a 64K page has 128. This also affects other
> > architectures with pages larger than 32K.
> >
> > Patch 1 adds BitmapArray, a kernel::bitmap type that stores up to a
> > compile-time number of words of bits inline, never allocates and
> > dereferences to Bitmap like BitmapVec. Patch 2 uses it for the status,
> > sized for the sectors of a page, so that a backing page still needs no
> > extra allocation. This also resolves the TODO to use the Rust bitmap.
>
> I'm #3 in the To list, but I didn't receive the 2nd patch. How that?..

Beats me. Both patches and the cover were sent with one command. ;)

Med vänliga hälsningar/Best regards,
Vitaly