Home
last modified time | relevance | path

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

/linux/kernel/sched/ !
H A Dsched.h3516 extern int use_cid_lock;
3662 * use_cid_lock is set, hold the cid_lock to perform cid allocation to in __mm_cid_get()
3665 if (!READ_ONCE(use_cid_lock)) { in __mm_cid_get()
3681 WRITE_ONCE(use_cid_lock, 1); in __mm_cid_get()
3683 * Set use_cid_lock before allocation. Only care about program order in __mm_cid_get()
3689 * all newcoming allocations observe the use_cid_lock flag set. in __mm_cid_get()
3696 * Allocate before clearing use_cid_lock. Only care about in __mm_cid_get()
3700 WRITE_ONCE(use_cid_lock, 0); in __mm_cid_get()