Home
last modified time | relevance | path

Searched refs:rtc_assigner (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/kernel/rcu/
Drcutorture.c154 struct rcu_torture_reader_check *rtc_assigner; member
1740 !smp_load_acquire(&rtrcp_chker->rtc_assigner)) { // Pairs with smp_store_release below. in rcu_torture_reader_do_mbchk()
1745 if (cmpxchg_relaxed(&rtrcp_chker->rtc_assigner, NULL, rtrcp) || in rcu_torture_reader_do_mbchk()
1747 (void)cmpxchg_relaxed(&rtrcp_chker->rtc_assigner, rtrcp, NULL); // Back out. in rcu_torture_reader_do_mbchk()
1751 rtrcp_assigner = READ_ONCE(rtrcp->rtc_assigner); in rcu_torture_reader_do_mbchk()
1764 smp_store_release(&rtrcp->rtc_assigner, NULL); // Someone else can assign us work. in rcu_torture_reader_do_mbchk()