好记性不如烂笔头,碰到有意思的,常用的,等等都在此留一笔
Objects:
-------------------------------------------------------------------------------------------------------------------
struct mm_struct *mmap 进程虚拟地址映射
struct page * mem_map 物理页管理
<linux/mm.h>
/*
* Linux kernel virtual memory manager primitives.
* The idea being to have a "virtual" mm in the same way
* we have a virtual fs - giving a cleaner interface to the
* mm details, and allowing different kinds of memory mappings
* (from shared memory to executable loading to arbitrary
* mmap() functions).
*/
extern struct kmem_cache *vm_area_cachep;
-------------------------------------------------------------------------------------------------------------------
Structs:
-------------------------------------------------------------------------------------------------------------------
struct page 物理内存页
struct vm_area_struct 进程内存区域
struct mm_struct 进程内存空间
struct kmem_cache
-------------------------------------------------------------------------------------------------------------------