Re: [PATCH 2/9] x86/asm/entry/32: Use PUSH instructions to build pt_regs on stack

From: Ingo Molnar
Date: Wed Apr 01 2015 - 04:51:53 EST



* Denys Vlasenko <dvlasenk@xxxxxxxxxx> wrote:

> This mimics the recent similar 64-bit change.
> Saves ~110 bytes of code.
>
> Patch was run-tested on 32 and 64 bits, Intel and AMD CPU.
> I also looked at the diff of entry_64.o disassembly, to have
> a different view of the changes.

The other important question would be: what performance difference (if
any) did you observe before/after the change?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/