Re: [PATCH] x86/asm/entry/64: change interrupt entry macro to function

From: Ingo Molnar
Date: Mon Apr 06 2015 - 03:20:43 EST



* Denys Vlasenko <dvlasenk@xxxxxxxxxx> wrote:

> The macro is largish, and we have 24 instances of it.
>
> By moving almost its entire body into a function,
> 1500..3000 bytes are saved (depending on .config):
>
> text data bss dec hex filename
> 12546 0 0 12546 3102 entry_64.o.before
> 9394 0 0 9394 24b2 entry_64.o
>
> Run-tested.

Please list costs and benefits in the changelog. (i.e. increased cache
locality vs. extra instruction[s] executed.)

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/