Linus Torvalds writes: (Summary) On Fri, Feb 9, 2018 at 1:25 AM, Joerg Roedel <joro@8bytes.org> wrote:
Ugh. This is going to be horrendous. Maybe not noticeable on modern CPU's, but the whole 32-bit code is kind of pointless on a modern CPU. CPU's, but the whole 32-bit code is kind of pointless on a modern CPU. At least use "rep movsl". If the kernel stack isn't 4-byte aligned, you have issues.
you have issues.
Linus
Linus
Linus
[...]
+ rep movsbUgh. This is going to be horrendous. Maybe not noticeable on modern CPU's, but the whole 32-bit code is kind of pointless on a modern CPU. CPU's, but the whole 32-bit code is kind of pointless on a modern CPU. At least use "rep movsl". If the kernel stack isn't 4-byte aligned, you have issues.
you have issues.
Linus
Linus
Linus