Hacker News new | ask | show | jobs
by mason55 4574 days ago
He mentioned in the comments that he ensured everything is aligned to 64-bit boundaries
1 comments

64 bit might not be the right alignment, and even aligned to 64 bit boundaries you can run into page and cacheline issues.
Don't you always have to pad back with nops (0x90) since the scheduler might be looking ahead for other instructions to execute (or maybe not, since it's seeing jmp back). Just wildly guessing here...
Just to be clear, I tried it with 64-byte alignment