Linux Kernel Architecture
Chapter 2: Process Management and Scheduling Note thatSCHED_IDLEis, despite its name,notresponsible to schedule the idle task. T ...
Chapter 2: Process Management and Scheduling void (*set_curr_task) (struct rq *rq); void (*task_tick) (struct rq *rq, struct tas ...
Chapter 2: Process Management and Scheduling Besides these, the kernel defines the convenience methodcheck_preempt_currto call t ...
Chapter 2: Process Management and Scheduling ❑ loadprovides a measure for the current load on the run queue. The queue load is e ...
Chapter 2: Process Management and Scheduling The structure can contain many more statistical elements if support for scheduler s ...
Chapter 2: Process Management and Scheduling 0 99 100 139 Higher Priority Realtime Normal − 20 Nice + 19 Figure 2-14: Kernel pri ...
Chapter 2: Process Management and Scheduling checks if the normal priority is in the real-time range, that is, smaller thanRT_RT ...
Chapter 2: Process Management and Scheduling Finally, Table 2-3 summarizes the result of the calculations for different types of ...
Chapter 2: Process Management and Scheduling /* 5 */ 335, 272, 215, 172, 137, /* 10 */ 110, 87, 70, 56, 45, /* 15 */ 36, 29, 23, ...
Chapter 2: Process Management and Scheduling static void set_load_weight(struct task_struct *p) { if (task_has_rt_policy(p)) { p ...
Chapter 2: Process Management and Scheduling 2.5.4 Core Scheduler As mentioned above, scheduler implementation is based on two f ...
Chapter 2: Process Management and Scheduling method should be aware, however, that this isnotequivalent to an expiring time slic ...
Chapter 2: Process Management and Scheduling Again thanks to the modular structure of the scheduler, most work can be delegated ...
Chapter 2: Process Management and Scheduling Interactionwithfork Whenever a new process is created using theforksystem call or o ...
Chapter 2: Process Management and Scheduling Immediately before a task switch, theprepare_arch_switchhook that must be defined b ...
Chapter 2: Process Management and Scheduling Finally, the task switch is finished withswitch_to, which switches the register sta ...
Chapter 2: Process Management and Scheduling points to thecurrentlyrunning process, whilenextpoints to the process that will be ...
Chapter 2: Process Management and Scheduling 2.6 The Completely Fair Scheduling Class All information that the core scheduler ne ...
Chapter 2: Process Management and Scheduling tree element as it needs to increase monotonically, but I will come back to this wh ...
Chapter 2: Process Management and Scheduling If no process is currently executing on the run queue, there is obviously nothing t ...
«
2
3
4
5
6
7
8
9
10
11
»
Free download pdf