发明授权
- 专利标题: Method and device for multithread to access multiple copies
- 专利标题(中): 用于多线程访问多个副本的方法和设备
-
申请号: US13339230申请日: 2011-12-28
-
公开(公告)号: US08880813B2公开(公告)日: 2014-11-04
- 发明人: Wei Wang , Yiyang Liu , Xiaofeng Zhang
- 申请人: Wei Wang , Yiyang Liu , Xiaofeng Zhang
- 申请人地址: CN Shenzhen
- 专利权人: Huawei Technologies Co., Ltd.
- 当前专利权人: Huawei Technologies Co., Ltd.
- 当前专利权人地址: CN Shenzhen
- 代理机构: Brinks Gilson & Lione
- 主分类号: G06F5/08
- IPC分类号: G06F5/08 ; G06F12/10
摘要:
A method and a device for multithread to access multiple copies. The method includes: when multiple threads of a process are distributed to different nodes, creating a thread page directory table whose content is the same as that of a process page directory table of the process, where each thread page directory table includes a special entry which points to specific data and a common entry other than the special entry, each thread corresponds to a thread page directory table, and the specific data is data with multiple copies at different nodes; and when each thread is scheduled and the special entry in the thread page directory table of the each thread does not point to the specific data stored in a node where the thread is located, modifying, based on a physical address of the specific data, the special entry to point to the specific data.
公开/授权文献
信息查询