Messages in this thread | | | Date | Fri, 9 Feb 2018 20:06:54 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH 09/31] x86/entry/32: Leave the kernel via trampoline stack |
| |
On Fri, Feb 09, 2018 at 05:43:55PM +0000, Andy Lutomirski wrote: > The 64-bit code mostly uses a bunch of push instructions for this.
I had it implemented with tons of push instructions first, but that doesn't work in cases where the stack switch needs to happen only after everything is copied over.
So I switched to 'rep movsb', which in my eyes also makes the code easier to understand.
Joerg
| |