Tag
context-switch
- Oct 21, 2026 Stack and Memory Budgeting for a Set of Preemptive Tasks Why each task needs its own stack, how worst-case stack depth is computed from the call graph plus exception frames, and where a shared stack changes the accounting. embedded systems
- Aug 20, 2026 Time-Slicing and What a GPU Context Switch Costs Preemption on a GPU is not one operation but several, each at a different granularity, and the cost of switching decides whether oversubscription is worth it. gpu computing
- Aug 7, 2026 Process States and the Transitions the Kernel Actually Tracks Why the kernel keeps a bitmask rather than a state enum, how runnable differs from running, and what the letter printed by ps leaves out. operating systems
- Jun 22, 2026 How a Preemptive RTOS Scheduler Picks the Next Task The ready-list, priority comparison, and context switch path a fixed-priority kernel follows on every tick, and why the runnable set is the only structure that matters. embedded systems
- May 5, 2026 Run Queues and the Cost of a Context Switch How the kernel tracks which threads can run, why each CPU keeps its own queue, and what a switch actually costs beyond saving and restoring registers. operating systems
- Mar 12, 2026 Scheduling and Preemption on Accelerator Queues Why a device queue is a scheduling entity, how hardware contexts make preemption possible, and what mid-kernel eviction costs when the device has no save state. computer architecture
- Jun 21, 2025 Interrupt Latency, Tick Overhead, and the Kernel Cost Budget How to decompose the delay from an external event to a task running into measurable pieces, and which kernel configuration choices move each piece. embedded systems
- Mar 19, 2025 Green Threads and the Cost of a User-Space Context Switch What a green thread actually saves compared with a kernel thread, which registers a switch must preserve, and why a scheduler that lives in user space changes the blocking rules of the whole runtime. language runtimes
- Mar 3, 2025 The Anatomy of a Context Switch Which registers are saved, where they go, why the switch costs more than the save, and how address-space tags avoid flushing the translation cache. operating systems