Linux Kernel Architecture
Chapter 18: Page Reclaim and Swapping 18.2.2 Checking Memory Utilization Prior to swapping out pages, the kernel checks memory u ...
Chapter 18: Page Reclaim and Swapping Page fault handling is in two parts. First, stronglyprocessor-dependent (assembler) code m ...
Chapter 18: Page Reclaim and Swapping area management is theswap_infoarray defined inmm/swap-info.c; its entries store informati ...
Chapter 18: Page Reclaim and Swapping A dedicated partition and two files are used to accommodate the swap areas in this example ...
Chapter 18: Page Reclaim and Swapping array, thenextvariable is defined to create a relative order between the areas despite the ...
Chapter 18: Page Reclaim and Swapping A B ...... start_page = 0 nr_pages = 3 start_block = A start_page = 3 nr_pages = 10 start_ ...
Chapter 18: Page Reclaim and Swapping These lists can become extremely long. The two sample swap areas in files that each contai ...
Chapter 18: Page Reclaim and Swapping ❑ To identify the swap area as such to the kernel (after all, it could simply be a normal ...
Chapter 18: Page Reclaim and Swapping Reading the SwapArea Characteristics The characteristics of a swap area are held in the fi ...
Chapter 18: Page Reclaim and Swapping bytes at the start of the partition and the signature at the end), but is also partly beca ...
Chapter 18: Page Reclaim and Swapping The kernel must then find and compare the sector addresses ofallblocks in the area to asce ...
Chapter 18: Page Reclaim and Swapping Page Reclaim (Policy) Swap Cache MechanismWriteback Reverse Mapping Activation of Page Sel ...
Chapter 18: Page Reclaim and Swapping Swap Cache A B C Swap Area Swap Cache A B C Swap Area Swap Cache A B C Swap Area Swap In o ...
Chapter 18: Page Reclaim and Swapping In the architecture-independent representation, the kernel must store both the identificat ...
Chapter 18: Page Reclaim and Swapping Sinceswap_entry_tinstances may never be manipulated directly, the kernel must provide a fu ...
Chapter 18: Page Reclaim and Swapping The number of bits used to address swap space locations in the architecture-independent fo ...
Chapter 18: Page Reclaim and Swapping swap_aopsis defined as follows: mm/page_io.c static struct address_space_operations swap_a ...
Chapter 18: Page Reclaim and Swapping this point, the kernel must nevertheless consider which area it wants to select for the pa ...
Chapter 18: Page Reclaim and Swapping When the area with the lowest priority is reached, the kernel starts searching again from ...
Chapter 18: Page Reclaim and Swapping Once the entries for the lower and upper limits have been updated (if necessary), the kern ...
«
49
50
51
52
53
54
55
56
57
58
»
Free download pdf