Re: [PATCH RFC] schedutil: Address the r/w ordering race in kthread

From: Joel Fernandes
Date: Tue May 22 2018 - 19:24:20 EST


On Tue, May 22, 2018 at 04:50:28PM -0700, Joel Fernandes (Google) wrote:
> Currently there is a race in schedutil code for slow-switch single-CPU
> systems. Fix it by enforcing ordering the write to work_in_progress to
> happen before the read of next_freq.

Aargh, s/before/after/.

Commit log has above issue but code is Ok. Should I resend this patch or
are there any additional comments? thanks!

- Joel

[..]