[GIT,PULL] x86/mm change for v6.3

Message ID Y/N07fFHFlotQJEg@gmail.com
State New
Headers
Series [GIT,PULL] x86/mm change for v6.3 |

Commit Message

Ingo Molnar Feb. 20, 2023, 1:26 p.m. UTC
  Linus,

Please pull the latest x86/mm git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-2023-02-20

   # HEAD: ebd3ad60a688131de7df1dd05fd2d7c57f542268 x86/cpu: Use cpu_feature_enabled() when checking global pages support

Micro-optimize __flush_tlb_all().

 Thanks,

	Ingo

------------------>
Borislav Petkov (AMD) (1):
      x86/cpu: Use cpu_feature_enabled() when checking global pages support


 arch/x86/mm/tlb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

pr-tracker-bot@kernel.org Feb. 21, 2023, 3:07 a.m. UTC | #1
The pull request you sent on Mon, 20 Feb 2023 14:26:05 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-2023-02-20

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/238b05ec999a036872af52d23007a7fc5a2df74e

Thank you!
  

Patch

diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c
index c1e31e9a85d7..92d73ccede70 100644
--- a/arch/x86/mm/tlb.c
+++ b/arch/x86/mm/tlb.c
@@ -1205,7 +1205,7 @@  void __flush_tlb_all(void)
 	 */
 	VM_WARN_ON_ONCE(preemptible());
 
-	if (boot_cpu_has(X86_FEATURE_PGE)) {
+	if (cpu_feature_enabled(X86_FEATURE_PGE)) {
 		__flush_tlb_global();
 	} else {
 		/*