]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
unwind: Make unwind_task_info::unwind_mask consistent
authorPeter Zijlstra <peterz@infradead.org>
Mon, 22 Sep 2025 14:09:17 +0000 (16:09 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 29 Oct 2025 09:29:57 +0000 (10:29 +0100)
commit639214f65b1db87c6992eadf93079ff0d8768c2d
tree7254bb68b382ea47e8555af40c53065de5c4b2b7
parent42b9138f81fc22c36128f9524bb21bc9eabfb1b8
unwind: Make unwind_task_info::unwind_mask consistent

The unwind_task_info::unwind_mask was manipulated using a mixture of:

  regular store
  WRITE_ONCE()
  try_cmpxchg()
  set_bit()
  atomic_long_*()

Clean up and make it consistently atomic_long_t.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20250924080119.384384486@infradead.org
include/linux/unwind_deferred.h
include/linux/unwind_deferred_types.h
kernel/unwind/deferred.c