免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1509 | 回复: 4
打印 上一主题 下一主题

一个存储管理的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-25 13:05 |只看该作者 |倒序浏览
书上说ZONE_DMA被映射到0xc0800000开始之后的16m的地方
但是ZONE_DMA物理地址是0-16m,而1m开始处又是内核镜像的位置
那么ZONE_DMA中大部分岂不是变成内核的镜像了阿 为什么还要映射16m的空间呢
还有ZONE_NORMAL又是怎么映射的

[ 本帖最后由 nqdgj2007 于 2009-9-25 13:06 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-09-25 13:48 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2009-09-25 14:14 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
4 [报告]
发表于 2009-09-25 23:44 |只看该作者
看《UNDERSTANDING LINUX KERNEL> 2ND EDITION. 第二章。

论坛徽章:
0
5 [报告]
发表于 2009-10-07 10:04 |只看该作者
从ULK3抄来的:

The ZONE_DMA zone includes page frames that can be used by old ISA-based devices by means of the DMA. (The section "Direct Memory Access (DMA)" in Chapter 13 gives further details on DMA.)

The ZONE_DMA and ZONE_NORMAL zones include the "normal" page frames that can be directly accessed by the kernel through the linear mapping in the fourth gigabyte of the linear address space (see the section "Kernel Page Tables" in Chapter 2). Conversely, the ZONE_HIGHMEM zone includes page frames that cannot be directly accessed by the kernel through the linear mapping in the fourth gigabyte of linear address space (see the section "Kernel Mappings of High-Memory Page Frames" later in this chapter). The ZONE_HIGHMEM zone is always empty on 64-bit architectures.


ZONE_NORMAL: Contains page frames of memory at and above 16 MB and below 896 MB.


原帖由 nqdgj2007 于 2009-9-25 13:05 发表
书上说ZONE_DMA被映射到0xc0800000开始之后的16m的地方
但是ZONE_DMA物理地址是0-16m,而1m开始处又是内核镜像的位置
那么ZONE_DMA中大部分岂不是变成内核的镜像了阿 为什么还要映射16m的空间呢
还有ZONE_NOR ...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP