Searched refs:mm_count (Results 1 – 10 of 10) sorted by relevance
16 注意,在配置了 CONFIG_MMU_LAZY_TLB_REFCOUNT=n 的内核中,mm_count 引用计数64 计数器,即有多少 “真正的地址空间用户”,另一个是 “mm_count”计数器,即 “lazy”70 个真正的线程,这个 “僵尸” mm就会被释放,因为 “mm_count”变成了零。
37 atomic_inc(&mm->mm_count); in mmgrab()54 if (unlikely(atomic_dec_and_test(&mm->mm_count))) in mmdrop()77 if (atomic_dec_and_test(&mm->mm_count)) in mmdrop_sched()
5 Note, the mm_count refcount may no longer include the "lazy" users63 and a "mm_count" counter that is the number of "lazy" users (ie anonymous71 released because "mm_count" becomes zero.
36 .mm_count = ATOMIC_INIT(1),
799 BUG_ON(atomic_read(&mm->mm_count) <= 0); in mmu_notifier_unregister()832 BUG_ON(atomic_read(&mm->mm_count) <= 0); in mmu_notifier_unregister()
205 atomic_read(&mm->mm_count), in dump_mm()
40 if (atomic_read(&mm->mm_count) > 1 || in task_mem()50 if (atomic_read(&mm->mm_count) > 1) in task_mem()
1137 atomic_t mm_count; member
71 .mm_count = ATOMIC_INIT(1),
751 if (unlikely(atomic_dec_and_test(&mm->mm_count))) { in mmdrop_async()1078 atomic_set(&mm->mm_count, 1); in mm_init()