Re: [PATCH v7 05/10] rust: bitmap: add contiguous area operations

Miguel Ojeda <[email protected]>
Newsgroups org.kernel.vger.rust-for-linux,dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel
Message-ID <CANiq72=sti1OfTHzGWGE+EJxqBf_k73QFy=G5HwowSF=xCwtmw@mail.gmail.com>
On Fri, Aug 21, 2026 at 1:04 PM Alexandre Courbot <[email protected]> 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@mail.gmail.com/

I think consistency is important to help maintenance and to reduce
mental overhead for both contributors and maintainers.

Cheers,
Miguel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.