lkml.org 
[lkml]   [2023]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] tick/nohz: fix data races in get_cpu_idle_time_us()
On Tue, Jan 31, 2023 at 03:44:00PM +0100, Thomas Gleixner wrote:

> P.S.: I hate the spinlock in the idle code path, but I don't have a
> better idea.

seqcount? It would avoid the obvious interleave and put most of the onus
on the reader (which never happens anyway).



\
 
 \ /
  Last update: 2023-03-27 00:04    [W:0.175 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site