TRANSPARENT USER MODE SCHEDULING ON TRADITIONAL THREADING SYSTEMS
First Claim
Patent Images
1. A method, comprising:
- receiving an original asynchronous procedure call (APC) on a kernel portion of a user mode schedulable (UMS) thread;
determining a status of the UMS thread that is being processed in a multi-processor environment; and
processing the original APC on the UMS thread based on the determined status of the UMS thread.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments for performing cooperative user mode scheduling between user mode schedulable (UMS) threads and primary threads are disclosed. In accordance with one embodiment, an asynchronous procedure call (APC) is received on a kernel portion of a user mode schedulable (UMS) thread. The status of the UMS thread as it is being processed in a multi-processor environment is determined. Based on the determined status, the APC is processed on the UMS thread.
47 Citations
20 Claims
-
1. A method, comprising:
-
receiving an original asynchronous procedure call (APC) on a kernel portion of a user mode schedulable (UMS) thread; determining a status of the UMS thread that is being processed in a multi-processor environment; and processing the original APC on the UMS thread based on the determined status of the UMS thread. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer readable medium storing computer-executable instructions that, when executed, cause one or more processors to perform acts comprising:
-
creating a primary thread from a standard thread, the created primary thread including an original user thread descriptor that resides in the upper portion of a user virtual address (VA) space of the created primary thread; and creating a duplicate user thread descriptor in a lower portion of the user VA space of the created primary thread when the user thread descriptor is only accessible via a 32-bit data segment, wherein each of the original user thread descriptor and the duplicate user thread descriptor includes a self-pointer, the self-pointers leading to an identical address in a physical memory. - View Dependent Claims (16, 17, 18)
-
-
19. A system, comprising:
-
a context holder to store privileged hardware states of a UMS thread; a primary thread to enter kernel mode via a system call; a user mode scheduler to replace first context information of the primary thread kernel portion with second context information from the UMS thread kernel portion, wherein the primary thread is configured to load the stored privileged hardware states into its primary thread kernel portion after the replacement of the first context information with the second context information. - View Dependent Claims (20)
-
Specification