[PATCH 0/2] Clear multi_stop_data::state atom use

Rong Tao posted 2 patches 2 years, 1 month ago
Only 0 patches received!
kernel/stop_machine.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
[PATCH 0/2] Clear multi_stop_data::state atom use
Posted by Rong Tao 2 years, 1 month ago
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