Re: [PATCH] RDMA/hfi1: Constify struct mmu_rb_ops

From: Leon Romanovsky
Date: Tue Jun 25 2024 - 13:45:32 EST



On Mon, 24 Jun 2024 22:13:27 +0200, Christophe JAILLET wrote:
> 'struct mmu_rb_ops' is not modified in this driver.
>
> Constifying this structure moves some data to a read-only section, so
> increase overall security.
>
> On a x86_64, with allmodconfig, as an example:
> Before:
> ======
> text data bss dec hex filename
> 10879 164 0 11043 2b23 drivers/infiniband/hw/hfi1/pin_system.o
>
> [...]

Applied, thanks!

[1/1] RDMA/hfi1: Constify struct mmu_rb_ops
https://git.kernel.org/rdma/rdma/c/ccf238c8da1511

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>