Re: [tip: x86/urgent] x86/uaccess: Improve performance by aligning writes to 8 bytes in copy_user_generic(), on non-FSRM/ERMS CPUs
From: Ingo Molnar
Date: Fri Mar 28 2025 - 18:11:47 EST
Linus,
* tip-bot2 for Herton R. Krzesinski <tip-bot2@xxxxxxxxxxxxx> wrote:
> The following commit has been merged into the x86/urgent branch of tip:
>
> Commit-ID: b5322b6ec06a6c58650f52abcd2492000396363b
> Gitweb: https://git.kernel.org/tip/b5322b6ec06a6c58650f52abcd2492000396363b
> Author: Herton R. Krzesinski <herton@xxxxxxxxxx>
> AuthorDate: Thu, 20 Mar 2025 11:22:13 -03:00
> Committer: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitterDate: Fri, 28 Mar 2025 22:57:44 +01:00
>
> x86/uaccess: Improve performance by aligning writes to 8 bytes in copy_user_generic(), on non-FSRM/ERMS CPUs
...
> [ mingo: Updated the changelog. ]
>
> Fixes: ca96b162bfd2 ("x86: bring back rep movsq for user access on CPUs without ERMS")
> Fixes: 034ff37d3407 ("x86: rewrite '__copy_user_nocache' function")
> Reported-by: Ondrej Lichtner <olichtne@xxxxxxxxxx>
> Co-developed-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Herton R. Krzesinski <herton@xxxxxxxxxx>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
> Link: https://lore.kernel.org/r/20250320142213.2623518-1-herton@xxxxxxxxxx
I have added in Linus's Signed-off-by tag, to make this SOB chain
valid. Let me know if that's not OK.
Thanks,
Ingo