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 0c4b4e9 commit 3628f0eCopy full SHA for 3628f0e
src/alloc/isolated_alloc.rs
@@ -202,8 +202,7 @@ impl IsolatedAlloc {
202
self.page_ptrs
203
)
204
};
205
- // Since each bit of the bitset represents COMPRESSION_FACTOR bytes,
206
- // we need to divide by that when getting the indices
+ // Mark this range as available in the page.
207
let ptr_idx_pinfo = ptr_idx / COMPRESSION_FACTOR;
208
let size_pinfo = size / COMPRESSION_FACTOR;
209
for idx in ptr_idx_pinfo..ptr_idx_pinfo + size_pinfo {
0 commit comments