
- Operating System Tutorial
- OS - Home
- OS - Overview
- OS - Components
- OS - Types
- OS - Services
- OS - Properties
- OS - Processes
- OS - Process Scheduling
- OS - Scheduling algorithms
- OS - Multi-threading
- OS - Memory Management
- OS - Virtual Memory
- OS - I/O Hardware
- OS - I/O Software
- OS - File System
- OS - Security
- OS - Linux
- OS - Exams Questions with Answers
- OS - Exams Questions with Answers
- Operating System Useful Resources
- OS - Quick Guide
- OS - Useful Resources
- OS - Discussion
Actions taken by a kernel to context-switch between kernel-level threads.
Context Switching involves storing the context or state of a process or thread so that it can be reloaded when required and execution can be resumed from the same point as earlier. This is a feature of a multitasking operating system and allows a single CPU to be shared by multiple processes.
Actions taken by a kernel to context-switch between kernel-level threads are-
Context switching between kernel threads typically requires saving the value of the CPU registers from the thread being switched out and restoring the CPU registers of the new thread being scheduled.
- Related Articles
- Actions taken by a kernel to context-switch between processes
- User-level threads and Kernel-level threads
- Difference between Operating System and Kernel
- Difference Between Kernel and Operating System
- Kernel Data Structures
- Difference Between Microkernel and Monolithic Kernel\n
- Loading and Removing Kernel Module
- User Mode vs Kernel Mode
- What is the difference between a kernel and an operating system?
- How to implement thread in kernel space?
- Advantages of using Loadable Kernel Modules
- How is the Linux kernel tested?
- How can kernels context-switch between processes?
- What is the concept of Monolithic kernel?
- What's the difference between a context switch, a process switch and a thread switch in Linux?

Advertisements