Re: [GIT PULL] x86/mm changes for v6.8

From: Ingo Molnar
Date: Tue Jan 09 2024 - 03:41:47 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Mon, 8 Jan 2024 at 18:06, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > This does not even compile for me.
> >
> > arch/x86/include/asm/uaccess_64.h: In function ‘__untagged_addr’:
> > arch/x86/include/asm/uaccess_64.h:25:28: error: implicit declaration
> > of function ‘__my_cpu_var’; did you mean ‘put_cpu_var’?
> > [-Werror=implicit-function-declaration]
>
> Side note: the whole __my_cpu_var() reminds me of the attached patch
> that I have in my testing tree, and have been carrying along for a
> number of months now.
>
> I definitely think it's the right thing to do, so here it is again,

Yeah, that's a good patch I have queued up in tip:x86/percpu:

24b8a23638cb ("x86/fpu: Clean up FPU switching in the middle of task switching")

Merged it shortly after you sent it:

commit 24b8a23638cbf92449c353f828b1d309548c78f4
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
AuthorDate: Wed Oct 18 20:41:58 2023 +0200
Commit: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Fri Oct 20 11:24:22 2023 +0200

I planned to send an RFC pull request for these bits in this merge window,
after all the other x86 trees.

Thanks,

Ingo