2026年4月25日

内存管理-66-RMAP

摘要: 基于 msm-5.4 一、RMAP简介 二、相关结构 1. struct anon_vma struct anon_vma { //rmap.h struct anon_vma *root; struct rw_semaphore rwsem; atomic_t refcount; unsigned 阅读全文

posted @ 2026-04-25 15:53 Hello-World3 阅读(41) 评论(0) 推荐(0)

内存管理-67-内存管理锁汇总

摘要: 一、mm中的锁次序 1. rmap.c 中的注释 //Lock ordering in mm: inode->i_mutex (while writing or truncating, not reading or faulting) mm->mmap_sem page->flags PG_lock 阅读全文

posted @ 2026-04-25 14:09 Hello-World3 阅读(16) 评论(0) 推荐(0)

导航