Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/mm/
Dmm-types.h133 atomic_t ref_count; // 引用计数 member
175 atomic_t ref_count; member
Dvma.c222 atomic_inc(&anon_vma->ref_count); in __anon_vma_add()
259 atomic_dec(&vma->anon_vma->ref_count); in __anon_vma_del()
262 if (unlikely(atomic_read(&vma->anon_vma->ref_count) == 0)) // 应当释放该anon_vma in __anon_vma_del()
/DragonOS-0.1.5/docs/kernel/locking/
Dlockref.md51 …于未支持的体系结构)或者尝试超时后,将会退化成“锁定-改变引用变量-解锁”的操作。此时由于lockref强制对齐,只涉及到1个缓存行,因此性能比原先的spinlock+ref_count的模式要高。