Stacking stack technique for operating system kernels to support prioritized and preemptible tasklets
AssigneeNaxin Sun
InventorsEric Sun, Naxin Sun
Life of this patent
Estimating the term…
Loading patent…
AssigneeNaxin Sun
InventorsEric Sun, Naxin Sun
Estimating the term…
Described is improved resource utilization for multithreading. A first run-time stack is constructed for a first tasklet by allocating a contiguous block of memory between starting and ending memory addresses in a stack pool. The first tasklet executes using a first portion of the contiguous block of memory, up to an intermediate memory address, prior to being preempted by a second tasklet. A second run-time stack is constructed in the stack pool by allocating a second starting memory address, before the ending memory address of the first run-time stack. The second tasklet executes from the second starting memory address, without overlapping the first portion of memory used to execute the first tasklet prior to preemption. Memory addresses associated with the second run-time stack are freed after the second tasklet terminates. Execution of the first tasklet resumes, using memory addresses previously associated with the first run-time stack prior to being preempted.
A method comprising:
Dependencies are inferred from the claim text.