Messages in this thread | | | Date | Wed, 27 May 2015 14:43:23 +0530 | From | Viresh Kumar <> | Subject | Re: [patch 3/7] timer: Use hlist for the timer wheel hash buckets |
| |
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@linutronix.de> > --- > include/linux/timer.h | 6 ++-- > kernel/time/timer.c | 64 +++++++++++++++++++++----------------------------- > 2 files changed, 30 insertions(+), 40 deletions(-)
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
-- viresh
| |