-
公开(公告)号:US06275915B1
公开(公告)日:2001-08-14
申请号:US09289240
申请日:1999-04-09
IPC分类号: G06F1120
CPC分类号: G06F11/2069 , G06F11/2084
摘要: An active-standby dual processor (100) performs only selective memory duplication and does so via hardware (114, 117, 118) and the operating system (109). A page table (217) stores a shadowing flag (203) for each memory page of the active memory (116) of the processor (101) that indicates whether or not the corresponding page is shadowed. When the operating system allocates (302, 402) memory to a process—either statically at creation of the process or dynamically during execution of the process—it checks (304, 404) whether the process program's data statement indicates shadowing or whether the MALLOC request includes a segment selector that indicates shadowing; if so, it sets (306, 406) the allocated page's shadowing flag. When the active processor performs (600, 602) a write of its memory, a page table controller (117) checks (500-508) if the written page's shadowing flag is set. If so, an interprocessor interface (118) is caused (510, 604-606) to replicate the write on the standby processor's memory; if not, the write is not replicated.
摘要翻译: 主动式待机双处理器(100)仅执行选择性存储器复制,并通过硬件(114,117,118)和操作系统(109)进行。 页表(217)存储用于处理器(101)的活动存储器(116)的每个存储器页面的阴影标记(203),其指示对应的页面是否被遮蔽。 当操作系统在进程的创建过程中静态地分配(302,402)存储器时,或者在执行过程期间动态地分配(302,402)存储器 - 它检查(304,404)过程程序的数据语句是否指示阴影或者是否是MALLOC请求 包括指示阴影的段选择器; 如果是,则设置(306,406)分配的页面的阴影标记。 当活动处理器执行(600,602)其存储器的写入时,页表控制器(117)检查(500-508)是否设置了写入页面的阴影标志。 如果是,则使处理器间接口(118)(510,606-606)复制备用处理器的存储器上的写入; 如果不是,则不复制该写入。