Lines Matching refs:to

9 The main intend of page migration is to reduce the latency of memory access
10 by moving pages near to the processor where the process accessing that memory
13 Page migration allows a process to manually relocate the node on which its
18 process that are located on the from nodes to the destination nodes.
22 which provides an interface similar to other numa functionality for page
28 a process to a processor on a distant node. A batch scheduler or an
30 nearer to the new processor. The kernel itself does only provide
35 accesses and may use the result to move pages to more advantageous
39 sections of nodes. Paul Jackson has equipped cpusets with the ability to
40 move pages when a task is moved to another cpuset (See
42 Cpusets allows the automation of process locality. If a task is moved to
51 process. This is necessary in order to preserve the memory latencies.
55 description for those trying to use migrate_pages() from the kernel
64 Lists of pages to be migrated are generated by scanning over
67 Calling isolate_lru_page increases the references to the page
69 It also prevents the swapper or other scans to encounter
72 2. We need to have a function of type new_page_t that can be
73 passed to migrate_pages(). This function should figure out
74 how to allocate the correct new page given the old page.
77 to do the migration. It will call the function to allocate
85 if all references to a page are removable at the time. The page has
91 1. Lock the page to be migrated
95 3. Prep the new page that we want to move to. It is locked
96 and set to not being uptodate so that all accesses to the new
100 accesses to the new page will discover a page with the correct settings.
102 5. All the page table references to the page are converted
103 to migration entries or dropped (nonlinear vmas).
106 All user space processes that attempt to access the page
110 to access the page via the mapping to block on the radix tree spinlock.
115 8. The radix tree is checked and if it does not contain the pointer to this
118 9. The radix tree is changed to point to the new page.
121 reference is gone. A reference to the new page is established because
122 the new page is referenced to by the radix tree.
126 to sleeping on the locked new page.
128 12. The page contents are copied to the new page.
130 13. The remaining page flags are copied to the new page.
132 14. The old page flags are cleared to indicate that the page does
145 20. The new page is moved to the LRU and can be scanned by the swapper