On Thu, Nov 19, 2026 at 02:58:11PM +0800, Muchun Song wrote:
> The KMSAN runtime needs an unchecked page extension lookup that can be
> inlined into its uninstrumented compilation unit while page_ext.c remains
> instrumented.
> 
> Provide an inline lookup for this use case while keeping the existing RCU
> checks for other callers.
> 
> Signed-off-by: Muchun Song <[email protected]>
> Reviewed-by: Chris Down <[email protected]>
> Tested-by: Chris Down <[email protected]>

Reviewed-by: Mike Rapoport (Microsoft) <[email protected]>

> ---
> v3:
> - Collect Reviewed-by and Tested-by from Chris Down
> 
> v2:
> - Add a preparatory patch that inlines the unchecked lookup (suggested
>   by Chris Down)
> - Use a PFN interface to avoid architecture header-order dependencies
> ---
>  include/linux/page_ext.h | 46 ++++++++++++++++++++++++++++++
>  mm/page_ext.c            | 60 +++-------------------------------------
>  2 files changed, 50 insertions(+), 56 deletions(-)

-- 
Sincerely yours,
Mike.

Reply via email to