lkml.org 
[lkml]   [2023]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v3] rcu: Add a minimum time for marking boot as completed
Date
> From: Joel Fernandes <joel@joelfernandes.org>
> [...]
> > --- a/kernel/rcu/update.c
> > +++ b/kernel/rcu/update.c
> > @@ -289,7 +289,7 @@ void rcu_end_inkernel_boot(void)
> >
> > if (boot_ms < rcu_boot_end_delay) {
> > schedule_delayed_work(&rcu_boot_end_work,
> > - rcu_boot_end_delay - boot_ms);
> > + msecs_to_jiffies(rcu_boot_end_delay -
> > + boot_ms));
> > mutex_unlock(&rcu_boot_end_lock);
> > return;
> > }
> > urezki@pc638:~/data/raid0/coding/linux-rcu.git$
> > <snip>
> >
> > I think you need to apply above patch. I am not sure maybe Paul has
> > already mentioned about it. But just in case.
>
> Ah, the reason my testing did not catch it is because for HZ=1000, msecs and
> jiffies are the same.

So was my system :-)

CONFIG_HZ_1000=y
CONFIG_HZ=1000

-Qiuxu

> Great eyes and thank you Vlad, I’ll make the fix and repost it.
>
> - Joel
>
> >
> > --
> > Uladzislau Rezki
\
 
 \ /
  Last update: 2023-03-27 00:44    [W:0.818 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site