We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ad0a9 commit e5576a1Copy full SHA for e5576a1
src/alloc/isolated_alloc.rs
@@ -274,7 +274,7 @@ impl IsolatedAlloc {
274
/// Returns a vector of page addresses managed by the allocator.
275
pub fn pages(&self) -> Vec<usize> {
276
let mut pages: Vec<_> =
277
- self.page_ptrs.clone().into_iter().map(|p| p.addr()).collect();
+ self.page_ptrs.clone().into_iter().map(|p| p.expose_provenance()).collect();
278
self.huge_ptrs.iter().for_each(|(ptr, size)| {
279
for i in 0..size / self.page_size {
280
pages.push(unsafe { ptr.add(i * self.page_size).expose_provenance() });
0 commit comments