摘要:
《Chapter 15 进程地址空间》是否共享地址空间几乎是进程和Linux中的线程间本质上的唯一区别。同一进程的几个线程的tassk_struct中mm域指向同一个struct mm_struct。内核线程的mm域为NULL(没有用户上下文)。VMAstruct vm_area_struct;VMA操作函数:struct vm_area_struct* find_vma(struct vm_area_struct* mm, unsigned long addr);//search in RBTreestruct vm_area_struct* find_vma_prev(struct mm_ 阅读全文
posted @ 2012-12-02 21:53 Apprentice89 阅读(403) 评论(0) 推荐(0)
浙公网安备 33010602011771号