User mode stack disassociation
AssigneeMicrosoft Corporation
InventorsMatthew D. Klein, Paul England
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsMatthew D. Klein, Paul England
Estimating the term…
Various technologies and techniques are disclosed for allowing a user mode stack to be shared by multiple contexts. A user mode stack can be shared between execution contexts that are guaranteed to not need the user mode stack at the same time. For example, each user mode portion of a kernel thread is provided with a dedicated backing thread. When a respective dedicated backing thread is sleeping and not using a respective user mode stack, the user mode stack is allowed to float with a respective user mode portion to other kernel threads. The user mode stack is disassociated from the kernel portion of the thread. The kernel is notified of an address of a user mode thread context. The kernel mode portion of the converted thread becomes a backing thread that waits. The user mode portion of the converted thread can be switched without entering the kernel.
A computer-readable medium having computer-executable instructions for causing a computer to perform steps comprising:
A method for sharing a user mode stack between multiple contexts comprising the steps of:
A method for disassociating a user mode stack from a kernel portion of a thread comprising the steps of:
Dependencies are inferred from the claim text.