[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a799a880-debc-4805-abc8-7756d21e5262@intel.com>
Date: Mon, 2 Jun 2025 10:22:59 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Rik van Riel <riel@...riel.com>, linux-kernel@...r.kernel.org
Cc: kernel-team@...a.com, dave.hansen@...ux.intel.com, luto@...nel.org,
peterz@...radead.org, bp@...en8.de, x86@...nel.org, yu-cheng.yu@...el.com
Subject: Re: [PATCH 3/3] x86/mm: Change cpa_flush() to call
flush_kernel_range() directly
On 6/2/25 06:30, Rik van Riel wrote:
> From: Yu-cheng Yu <yu-cheng.yu@...el.com>
>
> The function cpa_flush() calls __flush_tlb_one_kernel() and
> flush_tlb_all().
>
> Replacing that with a call to flush_tlb_kernel_range() allows
> cpa_flush() to make use of INVLPGB or RAR without any additional
> changes.
>
> Initialize invlpgb_count_max to 1, since flush_tlb_kernel_range()
> can now be called before invlpgb_count_max has been initialized
> to the value read from CPUID.
Looks good, thanks for picking this out of the RAR series:
Acked-by: Dave Hansen <dave.hansen@...ux.intel.com>
Powered by blists - more mailing lists