Re: [patch 3/7] timer: Use hlist for the timer wheel hash buckets

From: Viresh Kumar
Date: Wed May 27 2015 - 05:13:36 EST


On 26-05-15, 22:50, Thomas Gleixner wrote:
> This reduces the size of struct tvec_base by 50% and results in
> slightly smaller code as well.
>
> Before:
> struct tvec_base: size: 8256, cachelines: 129
>
> text data bss dec hex filename
> 17698 13297 8256 39251 9953 ../build/kernel/time/timer.o
>
> After:
> struct tvec_base: 4160, cachelines: 65, members: 12 */
>
> text data bss dec hex filename
> 17491 9201 4160 30852 7884 ../build/kernel/time/timer.o
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
> include/linux/timer.h | 6 ++--
> kernel/time/timer.c | 64 +++++++++++++++++++++-----------------------------
> 2 files changed, 30 insertions(+), 40 deletions(-)

Reviewed-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh
--
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/