cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

mm-api.rst (1403B)


      1.. include:: ../disclaimer-zh_CN.rst
      2
      3:Original: Documentation/core-api/mm-api.rst
      4
      5:翻译:
      6
      7 司延腾 Yanteng Si <siyanteng@loongson.cn>
      8
      9:校译:
     10
     11 时奎亮<alexs@kernel.org>
     12
     13.. _cn_core-api_mm-api:
     14
     15============
     16内存管理APIs
     17============
     18
     19API(Application Programming Interface,应用程序接口)
     20
     21用户空间内存访问
     22================
     23
     24该API在以下内核代码中:
     25
     26arch/x86/include/asm/uaccess.h
     27
     28arch/x86/lib/usercopy_32.c
     29
     30mm/gup.c
     31
     32.. _cn_mm-api-gfp-flags:
     33
     34内存分配控制
     35============
     36
     37该API在以下内核代码中:
     38
     39include/linux/gfp.h
     40
     41Slab缓存
     42========
     43
     44此缓存非cpu片上缓存,请读者自行查阅资料。
     45
     46该API在以下内核代码中:
     47
     48include/linux/slab.h
     49
     50mm/slab.c
     51
     52mm/slab_common.c
     53
     54mm/util.c
     55
     56虚拟连续(内存页)映射
     57======================
     58
     59该API在以下内核代码中:
     60
     61mm/vmalloc.c
     62
     63
     64文件映射和页面缓存
     65==================
     66
     67该API在以下内核代码中:
     68
     69mm/readahead.c
     70
     71mm/filemap.c
     72
     73mm/page-writeback.c
     74
     75mm/truncate.c
     76
     77include/linux/pagemap.h
     78
     79内存池
     80======
     81
     82该API在以下内核代码中:
     83
     84mm/mempool.c
     85
     86DMA池
     87=====
     88
     89DMA(Direct Memory Access,直接存储器访问)
     90
     91该API在以下内核代码中:
     92
     93mm/dmapool.c
     94
     95更多的内存管理函数
     96==================
     97
     98该API在以下内核代码中:
     99
    100mm/memory.c
    101
    102mm/page_alloc.c
    103
    104mm/mempolicy.c
    105
    106include/linux/mm_types.h
    107
    108include/linux/mm.h
    109
    110include/linux/mmzone.h