Re: [PATCH] x86/mm: Remove unused current_untag_mask()

From: Kirill A . Shutemov
Date: Wed Jun 14 2023 - 14:43:27 EST


On Wed, Jun 14, 2023 at 07:41:48PM +0200, Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>
>
> e0bddc19ba95 ("x86/mm: Reduce untagged_addr() overhead for systems without LAM")
>
> removed its only usage site so drop it.
>
> Move the tlbstate_untag_mask up in the header and drop the ugly
> ifdeffery as the unused declaration should be properly discarded.
>
> Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>

Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

--
Kiryl Shutsemau / Kirill A. Shutemov