0

Trying to understand, how and where grace period in an RCU is initialized. Is there a static declaration somewhere in Linux Kernel to define the grace period, or are there some other complex ways to do this, for example as per this small snippet:

 for_each_online_cpu(cpu)
     run_on(cpu);

grace period is total time taken to run the current thread on all the CPUs and after this total time has elapsed all the readers are done their critical sections ?

Milan
  • 1,447
  • 5
  • 19
  • 27

0 Answers0