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.

Date of Patent:
Feb. 16, 2021

Filed:

Dec. 19, 2019
Applicant:

Vmware, Inc., Palo Alto, CA (US);

Inventors:

Gerd Zellweger, Palo Alto, CA (US);

Lalith Suresh, Palo Alto, CA (US);

Jayneel Gandhi, Sunnyvale, CA (US);

Amy Tai, Palo Alto, CA (US);

Assignee:

VMWARE, INC., Palo Alto, CA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/54 (2006.01); G06F 9/48 (2006.01);
U.S. Cl.
CPC ...
G06F 9/4812 (2013.01); G06F 9/542 (2013.01); G06F 9/545 (2013.01); G06F 2209/482 (2013.01);
Abstract

Techniques for efficiently managing the interruption of user-level critical sections are provided. In certain embodiments, a physical CPU of a computer system can execute a critical section of a user-level thread of an application, where program code for the critical section is marked with CPU instruction(s) indicating that the critical section should be executed atomically. The physical CPU can detect, while executing the critical section, an event to be handled by an OS kernel of the computer system and upon detecting the event, revert changes performed within the critical section. The physical CPU can then invoke a trap handler of the OS kernel, and in response the OS kernel can invoke a user-level handler of the application with information including (1) the identity of the user-level thread, (2) an indication of the event, (3) the physical CPU state upon detecting the event, and (4) an indication that the user-level thread was interrupted while in the critical section.


Find Patent Forward Citations

Loading…