aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-01-23 19:08:49 +0100
committerIngo Molnar <[email protected]>2020-03-06 12:57:16 +0100
commitf1dfdab694eb3838ac26f4b73695929c07d92a33 (patch)
tree37791cfddf0e1e76792321e96271bf86cbe9c5bf /lib/mpi/mpi-mul.c
parent1b10d388d094bb32129060236add6f50b204a69d (diff)
sched/vtime: Prevent unstable evaluation of WARN(vtime->state)
As the vtime is sampled under loose seqcount protection by kcpustat, the vtime fields may change as the code flows. Where logic dictates a field has a static value, use a READ_ONCE. Signed-off-by: Chris Wilson <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Fixes: 74722bb223d0 ("sched/vtime: Bring up complete kcpustat accessor") Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions