lkml.org 
[lkml]   [2023]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Clear multi_stop_data::state atom use
Date
From: Rong Tao <rongtao@cestc.cn>

Clear multi_stop_data::state atomic use, which does not pose a risk of
misreading multi_stop_data::state, and add comments to
smp_store_release.

Rong Tao (2):
stop_machine: Use non-atomic read multi_stop_data::state clearly
stop_machine: Apply smp_store_release() to multi_stop_data::state

kernel/stop_machine.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

--
2.41.0

\
 
 \ /
  Last update: 2023-10-20 16:52    [W:0.040 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site