Linux Kernel Architecture
Chapter 14: Kernel Activities On IA-32 systems, the number of the raised interrupt is saved in the most significant 8 bits ofori ...
Chapter 14: Kernel Activities Calling the Flow HandlerRoutine How the flow handler routines are called differs from architecture ...
Chapter 14: Kernel Activities Processing on IA-32 Systems IA-32 requires slightly more work indo_IRQ, as the code flow diagram i ...
Chapter 14: Kernel Activities When stacks with 8-KiB size, that is, two page frames, are used, IRQ handling is simplified becaus ...
Chapter 14: Kernel Activities Calling the High-levelISR Recall from above that the various flow handler routines all have one th ...
Chapter 14: Kernel Activities } while (action); ... return retval; } ImplementingHandlerRoutines Some important points must be n ...
Chapter 14: Kernel Activities Note that the prototype of ISRs was changed during the development of 2.6.19! Before, the argument ...
Chapter 14: Kernel Activities From a more abstract view, software interrupts can therefore be described as a form of kernel acti ...
Chapter 14: Kernel Activities TASKLET_SOFTIRQ SCHED_SOFTIRQ, #ifdef CONFIG_HIGH_RES_TIMERS HRTIMER_SOFTIRQ, #endif }; }; Two ser ...
Chapter 14: Kernel Activities enabled. This allows the original bitmap to be modified at any time during processing of the softI ...
Chapter 14: Kernel Activities The softIRQ daemons of the system are generated shortly afterinitis called at system startup using ...
Chapter 14: Kernel Activities Before going into the technical details, a word of caution on the terminology used: For historical ...
Chapter 14: Kernel Activities If theTASKLET_STATE_SCHEDbit is set, registration is terminated because the tasklet is already reg ...
Chapter 14: Kernel Activities If the corresponding bit has not yet been set, it is set now. If thecountelement is not equal to 0 ...
Chapter 14: Kernel Activities Because wait queues can also be modified in interrupts, a spinlock namedlockmust be acquired befor ...
Chapter 14: Kernel Activities list_add(&new->task_list, &head->task_list); } Nothing more need be done than to add ...
Chapter 14: Kernel Activities DEFINE_WAITallows for creating a static instance ofwait_queue_tthat is automatically ini- tialize ...
Chapter 14: Kernel Activities When the condition if fulfilled,finish_waitsets the task state back toTASK_RUNNINGand removes the ...
Chapter 14: Kernel Activities qselects the desired wait queue andmodespecifies what state processes may have in order to be woke ...
Chapter 14: Kernel Activities init_completioninitializes acompletioninstance that was dynamically allocated, while DECLARE_COMPL ...
«
41
42
43
44
45
46
47
48
49
50
»
Free download pdf