[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZbgEHYe6f4WiIKoU@bombadil.infradead.org>
Date: Mon, 29 Jan 2024 12:01:33 -0800
From: Luis Chamberlain <mcgrof@...nel.org>
To: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: linux-modules@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] module: Use set_memory_rox()
On Thu, Dec 21, 2023 at 08:24:23AM +0100, Christophe Leroy wrote:
> A couple of architectures seem concerned about calling set_memory_ro()
> and set_memory_x() too frequently and have implemented a version of
> set_memory_rox(), see commit 60463628c9e0 ("x86/mm: Implement native
> set_memory_rox()") and commit 22e99fa56443 ("s390/mm: implement
> set_memory_rox()")
>
> Use set_memory_rox() in modules when STRICT_MODULES_RWX is set.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@...roup.eu>
Nice simplification. I applied all 3 patches and pushed!
Luis
Powered by blists - more mailing lists