]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/mm: Use INVLPGB for kernel TLB flushes
authorRik van Riel <riel@surriel.com>
Wed, 26 Feb 2025 03:00:39 +0000 (22:00 -0500)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:12:29 +0000 (11:12 +0100)
commit82378c6c2f435dba66145609de16bf44a9de6303
treeed71be2c04a458a71e35b9121cc85cb1c344e94b
parentb7aa05cbdc52d61119b0e736bb3e288735f860fe
x86/mm: Use INVLPGB for kernel TLB flushes

Use broadcast TLB invalidation for kernel addresses when available.
Remove the need to send IPIs for kernel TLB flushes.

   [ bp: Integrate dhansen's comments additions, merge the
     flush_tlb_all() change into this one too. ]

Signed-off-by: Rik van Riel <riel@surriel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250226030129.530345-5-riel@surriel.com
arch/x86/mm/tlb.c