From: Yury Norov <ynorov@nvidia.com>
To: Vitaly Wool <vitaly.wool@konsulko.se>
Cc: "Andreas Hindborg" <a.hindborg@kernel.org>,
"Jens Axboe" <axboe@kernel.dk>,
"Yury Norov" <yury.norov@gmail.com>,
"Burak Emir" <burak.emir@gmail.com>,
"Boqun Feng" <boqun@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Miguel Ojeda" <ojeda@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Tamir Duberstein" <tamird@kernel.org>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Onur Özkan" <work@onurozkan.dev>,
linux-block@vger.kernel.org, rust-for-linux@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] rnull: support 64K pages
Date: Wed, 2 Dec 2026 09:13:54 -0500 [thread overview]
Message-ID: <axAnotdYZ0ZevLEc@yury> (raw)
In-Reply-To: <20261202092332.136789-1-vitaly.wool@konsulko.se>
On Wed, Dec 02, 2026 at 10:23:30AM +0100, Vitaly Wool wrote:
> 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?..
prev parent reply other threads:[~2026-12-02 14:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 9:23 [PATCH 0/2] rnull: support 64K pages Vitaly Wool
2026-12-02 9:23 ` [PATCH 1/2] rust: bitmap: add BitmapArray Vitaly Wool
2026-12-02 14:13 ` Yury Norov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axAnotdYZ0ZevLEc@yury \
--to=ynorov@nvidia.com \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=aliceryhl@google.com \
--cc=axboe@kernel.dk \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=burak.emir@gmail.com \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=gary@garyguo.net \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=vitaly.wool@konsulko.se \
--cc=work@onurozkan.dev \
--cc=yury.norov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox