context switching(3)
-
[FreeBSD] Context Switching
4.3 Context SwitchingThe kernel switches among threads in an effort to share the CPU effectively; this activity is called context switching. When a thread executes for the duration of its time slice or when it blocks because it requires a resource that is currently unavailable, the kernel finds another thread to run and context switches to it. The system can also interrupt the currently executin..
2024.08.08 -
[FreeBSD] Process Management, Multiprogramming and Scheduling
Part II: ProcessesChapter 4.1 Introduction to Process ManagementA process is a program in execution. (프로세스의 정의. 정확하게 따지자면, 프로그램과는 구분된다.)A process has an address space containing a mapping of its program’s object code and global variables. It also has a set of kernel resources that it can name and on which it can operate using system calls. These resources include its credentials, signal state, a..
2024.07.16 -
[운영체제] CFS in Linux
CFS Completely Fair Process Scheduling in Linux
2023.04.10