You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'abk/get_memory_region-bug' into 'master'
RUN-656: Fix `PageMap::get_memory_region` bug
This fixes a small bug in `PageMap::get_memory_region` where the
reported region of zeros at the end of the `PageMap` would extend into
regions actually coming from the page delta at indices below the
requested `page_index`.
This bug has no effect on production code because the method is only
used for prefetching canister memory and we only ever prefetch indices
greater than the faulting page (so the false pages at lower indices were
ignored anyway). But it needs to be fixed for prefetching to work in
both directions.
See merge request dfinity-lab/public/ic!12674
0 commit comments