摘要
内存锁定是一种保证某进程驻留在内存而不需换页的方法。在实时环境中 ,系统应保证将某进程锁定在内存中 ,以减少数据访问、指令读取、进程间缓冲区切换等等引起的延迟。将一个进程的地址空间锁定在内存中 ,就为应用的响应时间满足实时需要提供了保障。一般来说 ,对时间要求苛刻的进程应锁定在内存中。本文主要以实时环境为背景 ,阐述了内存锁定和解锁函数以及在多进程下内存锁定技术的应用。
Memory locking is a way to ensure that a process stays in main memory and is exempt from paging. In a realtime environment, a system must be able to guarantee that it will lock a process in memory to reduce latency for data access, instruction fetches, buffer passing between processes, and so forth. Locking a processs address space in memory helps ensure that the applications response time satisfies realtime requirements. As a general rule, time critical processes should be locked into memory. This paper describes the items about “Memory Locking and Unlocking Functions” and “Memory Locking in multiprocesses environment” in a realtime environment
出处
《国防科技大学学报》
EI
CAS
CSCD
2000年第1期20-23,共4页
Journal of National University of Defense Technology