Re: [PATCH 22/22] x86_64: use relative pointers with dynamic debug

From: Rasmus Villemoes
Date: Wed Oct 03 2018 - 17:40:46 EST


On 2018-10-02 11:50, Ingo Molnar wrote:
>
> * Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> wrote:
>
>> Similar to how x86_64 uses bug_entry-relative pointers to reduce
>> sizeof(struct bug_entry), the same thing can now be done for struct
>> _ddebug, saving 16 bytes for each of those (i.e., each pr_debug, dev_dbg
>> etc. in a CONFIG_DYNAMIC_DEBUG kernel).
>
> Reviewed-by: Ingo Molnar <mingo@xxxxxxxxxx>

Thanks! Can I assume this also applies to the latecomer 23/22, which I
think I'm gonna squash with 22/22? Then I'll resend the series with
various tags included and ask Andrew to pick it up.

Rasmus