Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
Dmembarrier.c209 this_cpu_write(runqueues.membarrier_state, in ipi_sync_rq_state()
210 atomic_read(&mm->membarrier_state)); in ipi_sync_rq_state()
228 atomic_set(&mm->membarrier_state, 0); in membarrier_exec_mmap()
233 this_cpu_write(runqueues.membarrier_state, 0); in membarrier_exec_mmap()
239 int membarrier_state = 0; in membarrier_update_current_mm() local
242 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_update_current_mm()
243 if (READ_ONCE(rq->membarrier_state) == membarrier_state) in membarrier_update_current_mm()
245 WRITE_ONCE(rq->membarrier_state, membarrier_state); in membarrier_update_current_mm()
282 if (!(READ_ONCE(cpu_rq(cpu)->membarrier_state) & in membarrier_global_expedited()
323 if (!(atomic_read(&mm->membarrier_state) & in membarrier_private_expedited()
[all …]
Dsched.h1043 int membarrier_state; member
3240 int membarrier_state; in membarrier_switch_mm() local
3245 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_switch_mm()
3246 if (READ_ONCE(rq->membarrier_state) == membarrier_state) in membarrier_switch_mm()
3249 WRITE_ONCE(rq->membarrier_state, membarrier_state); in membarrier_switch_mm()
/linux-6.6.21/arch/powerpc/include/asm/
Dmembarrier.h16 likely(!(atomic_read(&next->membarrier_state) & in membarrier_arch_switch_mm()
/linux-6.6.21/include/linux/sched/
Dmm.h457 if (likely(!(atomic_read(&mm->membarrier_state) & in membarrier_mm_sync_core_before_usermode()
/linux-6.6.21/include/linux/
Dmm_types.h713 atomic_t membarrier_state; member