The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Apr. 02, 2024
Filed:
Jul. 14, 2023
Alipay (Hangzhou) Information Technology Co., Ltd., Zhejiang, CN;
Jian Feng Tan, Zhejiang, CN;
Ti Wei Bie, Zhejiang, CN;
An Qi Shen, Zhejiang, CN;
Yong He, Zhejiang, CN;
Xin Chen, Zhejiang, CN;
Alipay (Hangzhou) Information Technology Co., Ltd., Hangzhou, CN;
Abstract
Implementations of the present specification provide a method and an apparatus for managing a TLB cache in a virtualization platform, where the virtualization platform runs a plurality of virtual machines, each virtual machine is allocated with a unique VPID, and all virtual logical processors in the virtual machine share the VPID; and a guest process running in the virtual machine is allocated with a PCID. An identifier field of a TLB entry in the TLB cache includes a VPID and a PCID. The method includes: in response to detecting a target guest process involving an invalid address mapping relationship, obtaining a current VPID and a current PCID corresponding to the target guest process; classifying the current PCID into an invalid PCID set corresponding to the current VPID, and selecting a PCID from an available PCID set of a target virtual machine as an updated PCID; and allocating the updated PCID to the target guest process, so an updated entry for the target guest process is recorded in a TLB cache, where an identifier field of the updated entry includes the updated PCID.