发明授权
US06061711A Efficient context saving and restoring in a multi-tasking computing
system environment
失效
在多任务计算系统环境中高效的上下文保存和恢复
- 专利标题: Efficient context saving and restoring in a multi-tasking computing system environment
- 专利标题(中): 在多任务计算系统环境中高效的上下文保存和恢复
-
申请号: US699280申请日: 1996-08-19
-
公开(公告)号: US06061711A公开(公告)日: 2000-05-09
- 发明人: Seungyoon Peter Song , Moataz A. Mohamed , Heonchul Park , Le T. Nguyen , Jerry R. Van Aken , Alessandro Forin , Andrew R. Raffman
- 申请人: Seungyoon Peter Song , Moataz A. Mohamed , Heonchul Park , Le T. Nguyen , Jerry R. Van Aken , Alessandro Forin , Andrew R. Raffman
- 申请人地址: KRX Seoul
- 专利权人: Samsung Electronics, Inc.
- 当前专利权人: Samsung Electronics, Inc.
- 当前专利权人地址: KRX Seoul
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F9/30 ; G06F9/38 ; G06F9/46 ; G06F9/48 ; G06F17/16
摘要:
In a multi-tasking computing system environment, one program is halted and context switched out so that a processor may context switch in a subsequent program for execution. Processor state information exists which reflects the state of the program being context switched out. Storage of this processor state information permits successful resumption of the context switched out program. When the context switched out program is subsequently context switched in, the stored processor information is loaded in preparation for successfully resuming the program at the point in which execution was previously halted. Although, large areas of memory can be allocated to processor state information storage, only a portion of this may need to be preserved across a context switch for successfully saving and resuming the context switched out program. Unnecessarily saving and loading all available processor state information can be noticeably inefficient particularly where relatively large amounts of processor state information exists. In one embodiment, a processor requests a co-processor to context switch out the currently executing program. At a predetermined appropriate point in the executing program, the co-processor responds by halting program execution and saving only the minimal amount of processor state information necessary for successful restoration of the program. The appropriate point is chosen by the application programmer at a location in the executing program that requires preserving a minimal portion of the processor information across a context switch. By saving only a minimal amount of processor information, processor time savings are accumulated across context save and restoration operations.
公开/授权文献
- US4050516A Method of injecting fluids into underground formations 公开/授权日:1977-09-27
信息查询