Re: [PATCH v7 05/10] rust: bitmap: add contiguous area operations
From: Miguel Ojeda
Date: Fri Aug 21 2026 - 15:37:30 EST
On Fri, Aug 21, 2026 at 1:04 PM Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>
> I'm not super fond of the different behavior introduced by
> CONFIG_RUST_BITMAP_HARDENED.
Yeah, me neither, although for a slightly different reason: I am not
sure why debug assertions and/or EB cannot be used for bitmap like
elsewhere, plus why having a custom config option is needed just for
bitmaps. See e.g.
https://lore.kernel.org/rust-for-linux/CANiq72=tKVD13GD2Bzmt_LnC4SiOX1nkHQPcz2BS=P=b23e0Yw@xxxxxxxxxxxxxx/
I think consistency is important to help maintenance and to reduce
mental overhead for both contributors and maintainers.
Cheers,
Miguel