Linux Kernel Architecture
Chapter 14: Kernel Activities 14.4.3 Work Queues Work queues are a further means of deferring actions until later. Because they ...
Chapter 14: Kernel Activities Why does the kernel useatomic_long_tas the data type for a pointer to some arbitrary data, and not ...
Chapter 14: Kernel Activities kernel/workqueue.c int fastcall queue_delayed_work(struct workqueue_struct *wq, struct delayed_wor ...
...
Time Management All the methods of deferring work to a future point in time discussed in this book so far do not cover one speci ...
Chapter 15: Time management.............................................. ❑ Devices with limited power (i.e., laptops, embedded ...
Chapter 15: Time Management Independent of the resolution, the kernel nomenclature distinguishes two types of timers: ❑ Time-out ...
Chapter 15: Time Management Periodic events do not comply with a free running counter very well, thus another abstraction is req ...
Chapter 15: Time Management 15.2 Implementation of Low-Resolution Timers Since low-resolution timers have been around in the ker ...
Chapter 15: Time Management depending on which timekeeping model is used. In any case, the handler will set the ball rolling for ...
Chapter 15: Time Management calc_load do_time jiffies_64++ update_times update_wall_time Figure 15-5: Code flow diagram for do_t ...
Chapter 15: Time Management 15.2.2 Working with Jiffies Jiffies provide a simple form of low-resolution time management in the k ...
Chapter 15: Time Management Timers are organized on lists, and the following data structure represents a timer on a list: <ti ...
Chapter 15: Time Management Again auxiliary functions convert back and forth between jiffies andtimespecs:timespec_to_jiffies an ...
Chapter 15: Time Management are several timers in the system with the sameexpiresvalue, they are linked by means of a doubly lin ...
Chapter 15: Time Management The array positions of the higher groups are not, of course, selected randomly — the index entry aga ...
Chapter 15: Time Management Each processor in the system has its own data structures for managing timers that run on it. A per-C ...
Chapter 15: Time Management The index position of the first group can be computed by masking the value ofbase->timer_jiffies ...
Chapter 15: Time Management unsigned long data; timer = list_entry(head->next,struct timer_list,entry); fn = timer->functi ...
Chapter 15: Time Management High-resolution timers place more requirements on the architecture-specific code of the individual a ...
«
42
43
44
45
46
47
48
49
50
51
»
Free download pdf