[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171933751680.963586.6452376643796322440.b4-ty@kernel.org>
Date: Tue, 25 Jun 2024 20:45:16 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Dennis Dalessandro <dennis.dalessandro@...nelisnetworks.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH] RDMA/hfi1: Constify struct mmu_rb_ops
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@...nel.org>
Powered by blists - more mailing lists