作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (10): 285-287. doi: 10.3969/j.issn.1000-3428.2010.10.099

• 开发研究与设计技术 • 上一篇    下一篇

基于快速上下文切换扩展的快速地址空间切换

吴贞海,刘福岩   

  1. (上海大学计算机工程与科学学院,上海 200072)
  • 出版日期:2010-05-20 发布日期:2010-05-20

Fast Address Space Switch Based on Fast Context Switch Extension

WU Zhen-hai, LIU Fu-yan   

  1. (School of Computer Engineering and Science, Shanghai University, Shanghai 200072)
  • Online:2010-05-20 Published:2010-05-20

摘要: 在传统的x86处理器上进行地址空间切换通常需要清空TLB和cache,导致内核时间大量消耗。通过启用ARM920T嵌入式处理器上的快速上下文切换扩展机制,使每个进程地址空间中的低端32 MB可以被硬件重定向到该进程标志符指定的一段虚拟地址空间。该虚拟地址空间互不重叠,使得在进程切换时TLB和cache中的地址信息保持有效,消除了不必要的TLB和cache清空操作,提高了嵌入式系统的性能。

关键词: 嵌入式处理器, 速上下文切换扩展, 速地址空间切换

Abstract: On traditional x86 processors, address space switch usually requires flushing Translation Look-aside Buffer(TLB) and cache, which consumes much kernel time. With Fast Context Switch Extension(FCSE) mechanism on ARM920T embedded processors, the lower 32 MB of address space is redirected to the segment specified by process identifier. These segments are never overlapped, so that address information stored in TLB and cache keeps valid during process switching. Unnecessary flushing of TLB and cache is eliminated, and embedded system performance is improved.

Key words: embedded processor, ast Context Switch Extension(FCSE), ast address space switch

中图分类号: