mordorwww 发表于 2016-06-30 15:03

kmap kmap_atomic都是把连续物理页面映射到连续虚拟地址空间么

从ULK的描述看,貌似隐含这个意思, 不然怎么单独有个noncontiguous memory allocation


The kernel uses three different mechanisms to map page frames in high memory; they are called permanent kernel mapping, temporary kernel mapping, and noncontiguous memory allocation.

nswcfd 发表于 2016-06-30 18:06

本帖最后由 nswcfd 于 2016-06-30 18:58 编辑

* temporary,对应kmap_atomic,8.1.6.2,使用的是fix map的一部分空间。
* permanent,对应kmap,8.1.6.1
* noncontiguous,对应vmalloc,8.3

它们应该都不保证连续的虚地址对应连续的物理页面。
页: [1]
查看完整版本: kmap kmap_atomic都是把连续物理页面映射到连续虚拟地址空间么