equal
deleted
inserted
replaced
137 size_t base_space_size() const { return _base_space_size; } |
137 size_t base_space_size() const { return _base_space_size; } |
138 |
138 |
139 // Check if the NUMA topology has changed. Add and remove spaces if needed. |
139 // Check if the NUMA topology has changed. Add and remove spaces if needed. |
140 // The update can be forced by setting the force parameter equal to true. |
140 // The update can be forced by setting the force parameter equal to true. |
141 bool update_layout(bool force); |
141 bool update_layout(bool force); |
142 // Bias region towards the first-touching lgrp. |
142 // Bias region towards the lgrp. |
143 void bias_region(MemRegion mr); |
143 void bias_region(MemRegion mr, int lgrp_id); |
144 // Free pages in a given region. |
144 // Free pages in a given region. |
145 void free_region(MemRegion mr); |
145 void free_region(MemRegion mr); |
146 // Get current chunk size. |
146 // Get current chunk size. |
147 size_t current_chunk_size(int i); |
147 size_t current_chunk_size(int i); |
148 // Get default chunk size (equally divide the space). |
148 // Get default chunk size (equally divide the space). |