Linux Kernel Architecture
Chapter 18: Page Reclaim and Swapping Starting at the current position, the kernel checks whether all subsequent slots —SWAPFILE ...
Chapter 18: Page Reclaim and Swapping Caching SwapPages In contrast toadd_to_swap,add_to_swap_cacheadds a page to the swap cache ...
Chapter 18: Page Reclaim and Swapping This function yields the required page by reference to aswp_entry_tinstance by scanning th ...
Chapter 18: Page Reclaim and Swapping for(;;){ struct list_head *lh; if (se->start_page <= offset && offset < ( ...
Chapter 18: Page Reclaim and Swapping removed from memory. This issue has noeffect on whether a page is swapped out or not. Some ...
Chapter 18: Page Reclaim and Swapping On NUMA machines, which do not share memory uniformly over all processors (see Chapter 3), ...
Chapter 18: Page Reclaim and Swapping shrink_inactive_listremoves a selectable number of inactive pages from theinactive list o ...
Chapter 18: Page Reclaim and Swapping occupied by the page is returned to the buddy system. In contrast topagevec_release,this f ...
Chapter 18: Page Reclaim and Swapping pagevec_addreturns the number of elements that are still freeafterthe new page has been ad ...
Chapter 18: Page Reclaim and Swapping set, but when is it going to be removed again? Either the kernel does not remove it automa ...
Chapter 18: Page Reclaim and Swapping tomark_page_accessedhave thus been more frequent than the calls topage_referenced, which i ...
Chapter 18: Page Reclaim and Swapping code). On the other hand, some changes are necessary to handle special cases, (e.g., the l ...
Chapter 18: Page Reclaim and Swapping else if (is_locked) referenced += page_referenced_file(page); else if (TestSetPageLocked(p ...
Chapter 18: Page Reclaim and Swapping Table 18-1: Swap Page States Initial state Target state Inactive, unreferenced Inactive,re ...
Chapter 18: Page Reclaim and Swapping The meanings of the elements are closely reflected in their variable names: ❑ nr_scannedre ...
Chapter 18: Page Reclaim and Swapping The kernel needs to scan the active and inactive lists to find pages that can be moved bet ...
Chapter 18: Page Reclaim and Swapping If one of the values is greater than or equal to the maximum page number in a current swap ...
Chapter 18: Page Reclaim and Swapping are performed, they need to be locked, and one problem arises: The page reclaim code belon ...
Chapter 18: Page Reclaim and Swapping the selected page frames could very well be unreclaimable. However, an attempt has been ma ...
Chapter 18: Page Reclaim and Swapping /* Avoid holes within the zone. */ if (unlikely(!pfn_valid_within(pfn))) break; cursor_pag ...
«
50
51
52
53
54
55
56
57
58
59
»
Free download pdf