lkml.org 
[lkml]   [2023]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 19/21] timer: Implement the hierarchical pull model
On 2023-05-10 09:28:15 [+0200], Anna-Maria Behnsen wrote:
> diff --git a/kernel/time/timer.c b/kernel/time/timer.c
> --- a/kernel/time/timer.c
> +++ b/kernel/time/timer.c
> @@ -2240,6 +2278,15 @@ static void run_timer_base(int index)
> __run_timer_base(base);
> }
>
> +#ifdef CONFIG_SMP
&& CONFIG_NO_HZ_COMMON

> +void timer_expire_remote(unsigned int cpu)
> +{
> + struct timer_base *base = per_cpu_ptr(&timer_bases[BASE_GLOBAL], cpu);
> +
> + __run_timer_base(base);
> +}
> +#endif
> +
> /*
> * This function runs timers and the timer-tq in bottom half context.
> */

Sebastian

\
 
 \ /
  Last update: 2023-05-11 18:58    [W:0.233 / U:1.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site