Invention Grant
- Patent Title: Mapping processing method for a cache address in a processor to provide a color bit in a huge page technology
-
Application No.: US15257506Application Date: 2016-09-06
-
Publication No.: US09984003B2Publication Date: 2018-05-29
- Inventor: Zehan Cui , Licheng Chen , Mingyu Chen
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201410080762 20140306
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F12/1027 ; G06F12/0802 ; G06F12/0811 ; G06F12/084 ; G06F12/0842 ; G06F12/0895 ; G06F12/0897 ; G06F12/1009

Abstract:
A mapping processing method and apparatus for a cache address, where the method includes acquiring a physical address corresponding to an access address sent by a processing core, where the physical address includes a physical page number (PPN) and a page offset, mapping the physical address to a Cache address, where the Cache address includes a Cache set index 1, a Cache tag, a Cache set index 2, and a Cache block offset in sequence, where the Cache set index 1 with a high-order bit and the Cache set index 2 with a low-order bit together form a Cache set index, and the Cache set index 1 falls within a range of the PPN. Some bits of a PPN of a huge page PPN are mapped to a set index of a Cache so that the bits can be colored by an operating system.
Public/Granted literature
- US20160371198A1 Mapping Processing Method and Apparatus for Cache Address Public/Granted day:2016-12-22
Information query