Without this change this causes issues when trying to use a 2MiB page size with a region that's larger than 2MiB since the call to allocate_fixed_objects is using whatever page_size was last set as, rather than what the current memory region's page size is.
Without this change this causes issues when trying to use a 2MiB page size with a region that's larger than 2MiB since the call to
allocate_fixed_objects
is using whateverpage_size
was last set as, rather than what the current memory region's page size is.