Linux Kernel Architecture
Chapter 18: Page Reclaim and Swapping Once the kernel has finished all the required management work at the beginning ofbalance_p ...
Chapter 18: Page Reclaim and Swapping zoneis thestruct zoneinstance used to define the characteristic data of the memory zone. T ...
Chapter 18: Page Reclaim and Swapping Iterate over all suitable zones Enough pages freed? Iterate over decreasing priorities Det ...
Chapter 18: Page Reclaim and Swapping ... if (total_scanned > sc.swap_cluster_max + sc.swap_cluster_max / 2) { wakeup_pdflush ...
Chapter 18: Page Reclaim and Swapping ❑ shrinkis a pointer to the function invoked to shrink a cache. Every shrinker function mu ...
Chapter 18: Page Reclaim and Swapping struct shrinker *shrinker; unsigned long ret = 0; ... list_for_each_entry(shrinker, &s ...
Chapter 18: Page Reclaim and Swapping Objects are freed in chunks of 128 to ensure that the system is not blocked for too long. ...
...
Auditing Developers working on the kernel often have a natural interest to watch and inspect what is going on inside the code. B ...
Chapter 19: Auditing........................................................ Kernel rule database Netlink connection Userland au ...
Chapter 19: Auditing 19.2 Audit Rules How is it possible to place constraints on the types of events for which an audit log reco ...
Chapter 19: Auditing 19.3 Implementation The audit implementation belongs to the very coreof the kernel (the source is located d ...
Chapter 19: Auditing audit_filter_list Audit database audit_context task_struct aux struct audit_context audit_aux_data Figure 1 ...
Chapter 19: Auditing Most elements of the data structure are concisely described by their accompanying comments, and the undocum ...
Chapter 19: Auditing describes the relationship between them (refer to Section 19.3.1 for more information on how to transmit au ...
Chapter 19: Auditing Since the general structure of all other auxiliary audit data structures is similar, this section doesn’t b ...
Chapter 19: Auditing #define AUDIT_FILTER_WATCH 0x03 /* Apply rule to file system watches */ #define AUDIT_FILTER_EXIT 0x04 /* A ...
Chapter 19: Auditing u32 field_count; char *filterkey; /* ties events to rules */ struct audit_field *fields; ... }; The content ...
Chapter 19: Auditing Thecodesnippetrevealsthataudit_receiveis responsible for processing any received packets. It imple- ments a ...
Chapter 19: Auditing audit_receive_msg audit_netlink_ok kauditd not running? Start kauditd Dispatch by type Figure 19-4: Code fl ...
«
52
53
54
55
56
57
58
59
60
61
»
Free download pdf