On 2019-03-01 08:12:55 [-0500], Pankaj Gupta wrote: > Wouldn't there is chance of race with both get_cpu_light() & raw_smp_processor_id()? forget get_cpu_light(). Just do raw_smp_processor_id(). This should work with and without RT. Sebastian
On 2019-03-01 08:12:55 [-0500], Pankaj Gupta wrote: > Wouldn't there is chance of race with both get_cpu_light() & raw_smp_processor_id()? forget get_cpu_light(). Just do raw_smp_processor_id(). This should work with and without RT. Sebastian