当前位置:网站首页>Preemption of CFS scheduling
Preemption of CFS scheduling
2022-07-05 06:38:00 【techtitan】
Conclusion analysis
- No way policy Can be preempted , such as sched_normal policy You can seize sched_idle policy The task of . sched_batch Don't take
- Wake up task and fantasy task when waking up , If two features next_buddy as well as last_buddy If it is opened , It can support preemption
- If wakeup Mission vruntime Time is less than curr Of vruntime Time , The difference is greater than sysctl_sched_wakeup_granularity, Is set next_buddy (set_next_buddy)
# Functions involved
check_preempt_wakeup May be set NEXT_BUDDY and LAST_BUDDY, cfs_rq There are next and last The pointer , Support preemption
place_entity ( The sleep process and the newly created process will be allocated vruntime Time slice )
pick_next_entity
Main function analysis
边栏推荐
- 4.Oracle-重做日志文件管理
- 博弈论 AcWing 893. 集合-Nim游戏
- Find the combination number acwing 889 01 sequence meeting conditions
- Sum of two numbers, the numbers in the array are converted to decimal, added, and output inversely
- Record of problems in ollvm compilation
- Markdown syntax
- 5.Oracle-表空间
- Utf8 encoding
- [Gaode map POI stepping pit] amap Placesearch cannot be used
- Vant Weapp SwipeCell设置多个按钮
猜你喜欢
Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
Game theory acwing 891 Nim games
Utf8 encoding
博弈论 AcWing 893. 集合-Nim游戏
Design specification for mobile folding screen
Positive height system
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
Vscode creates its own code template
5.Oracle-錶空間
7.Oracle-表结构
随机推荐
Using handler in a new thread
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
Dataframe (1): introduction and creation of dataframe
Suppose a bank's ATM machine, which allows users to deposit and withdraw money. Now there is 200 yuan in an account, and both user a and user B have the right to deposit and withdraw money from this a
[2021]GIRAFFE: Representing Scenes as Compositional Generative Neural Feature Fields
Get class files and attributes by reflection
Applicable to Net free barcode API [off] - free barcode API for NET [closed]
高斯消元 AcWing 884. 高斯消元解异或線性方程組
H5内嵌App适配暗黑模式
MPLS experiment
3. Oracle control file management
Game theory acwing 892 Steps Nim game
在本地搭建一个微服务集群环境,学习自动化部署
Some classic recursion problems
5.Oracle-錶空間
H5 模块悬浮拖动效果
博弈论 AcWing 892. 台阶-Nim游戏
7.Oracle-表结构
LSA Type Explanation - detailed explanation of lsa-2 (type II LSA network LSA) and lsa-3 (type III LSA network Summary LSA)
2. Addition and management of Oracle data files