Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Doom.h57 extern struct mutex oom_lock;
Dmemcontrol.h245 bool oom_lock; member
/linux-6.6.21/mm/
Doom_kill.c67 DEFINE_MUTEX(oom_lock);
823 if (mutex_lock_killable(&oom_lock)) in oom_killer_disable()
826 mutex_unlock(&oom_lock); in oom_killer_disable()
Dmemcontrol.c1665 lockdep_assert_held(&oom_lock); in mem_cgroup_print_oom_meminfo()
1730 if (mutex_lock_killable(&oom_lock)) in mem_cgroup_out_of_memory()
1743 mutex_unlock(&oom_lock); in mem_cgroup_out_of_memory()
1816 if (iter->oom_lock) { in mem_cgroup_oom_trylock()
1825 iter->oom_lock = true; in mem_cgroup_oom_trylock()
1838 iter->oom_lock = false; in mem_cgroup_oom_trylock()
1855 iter->oom_lock = false; in mem_cgroup_oom_unlock()
Dpage_alloc.c3291 if (!mutex_trylock(&oom_lock)) { in __alloc_pages_may_oom()
3355 mutex_unlock(&oom_lock); in __alloc_pages_may_oom()
Dvmscan.c4628 if (mutex_trylock(&oom_lock)) { in lru_gen_age_node()
4635 mutex_unlock(&oom_lock); in lru_gen_age_node()
/linux-6.6.21/drivers/tty/
Dsysrq.c396 mutex_lock(&oom_lock); in moom_callback()
399 mutex_unlock(&oom_lock); in moom_callback()