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

From: Ingo Molnar
Date: Fri Mar 27 2015 - 07:33:20 EST



* Denys Vlasenko <dvlasenk@xxxxxxxxxx> wrote:

> This mimics the recent similar 64-bit change.
> Saves ~110 bytes of code.

Would be nice to know whether you tested all the affected system entry
variants, on both AMD and Intel CPUs?

that would be:

> @@ -126,26 +126,27 @@ ENTRY(ia32_sysenter_target)
> @@ -334,20 +335,24 @@ ENTRY(ia32_cstar_target)
> @@ -478,12 +483,17 @@ ENTRY(ia32_syscall)

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/