Messages in this thread |  | | From | Linus Torvalds <> | | Date | Sun, 1 Dec 2024 14:27:55 -0800 | | Subject | Re: [PATCH next] x86: mask_user_address() return base of guard page for kernel addresses |
| |
On Sun, 1 Dec 2024 at 14:24, David Laight <David.Laight@aculab.com> wrote: > > OTOH AMD have is as '4 per clock' (the same as mov) so could be > a 'mov' with the write disabled' (but I'm not sure how that > would work if 'mov' is a register rename).
It could work exactly by just predicting it one way or the other.
That's my point.
I don't think / hope anybody does it, but it's a particularly easy mistake to do.
Linus
|  |