Re: [PATCH v5 7/8] execmem: add support for cache of large ROX pages

From: Christoph Hellwig
Date: Mon Oct 14 2024 - 01:56:16 EST


On Sun, Oct 13, 2024 at 11:43:41AM +0300, Mike Rapoport wrote:
> > But why? That's pretty different from our normal style of arch hooks,
> > and introduces an indirect call in a security sensitive area.
>
> Will change to __weak hook.

Isn't the callback required when using the large ROX page? I.e.
shouldn't it be an unconditional callback and not a weak override?