Re: [PATCH 04/10] x86,mm: use INVLPGB for kernel TLB flushes
From: Borislav Petkov
Date: Sun Dec 22 2024 - 06:48:14 EST
On December 22, 2024 5:06:36 AM GMT+01:00, Rik van Riel <riel@xxxxxxxxxxx> wrote:
>@@ -1089,6 +1116,11 @@ static void do_kernel_range_flush(void *info)
>
> void flush_tlb_kernel_range(unsigned long start, unsigned long end)
> {
>+ if (static_cpu_has(X86_FEATURE_INVLPGB)) {
cpu_feature_enabled
--
Sent from a small device: formatting sucks and brevity is inevitable.