lkml.org 
[lkml]   [2020]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] timers: Recalculate next timer interrupt only when necessary
Date
Frederic Weisbecker <frederic@kernel.org> writes:
>
> Since recalculating the next_expiry isn't a free operation, especially
> when we must climb up the last wheel level to find out that no timer
> has

I'm climbing stairs or mountains :)

> been enqueued at all, lets reuse the next expiry cache when it is
> known

lets? Come on, the changelog is about facts not what we might do.

> unsigned long clk;
> unsigned long next_expiry;
> + bool next_expiry_recalc;
> unsigned int cpu;
> bool is_idle;

Care to stare at the output of

pahole -C timer_base kernel/time/timer.o

before and after?

Thanks,

tglx

\
 
 \ /
  Last update: 2020-07-23 15:54    [W:0.043 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site