blockpool: add missed used count increment

This commit is contained in:
DH 2025-12-02 21:33:44 +03:00
parent 7c44c8fe4b
commit ab7f9b3f16

View file

@ -226,6 +226,7 @@ struct PooledMemoryResource {
{.pmemAddress = block.beginAddress(), .type = type},
false);
freeBlocks.pop_back();
used += mapVirtualRange.size();
virtualRange = rx::AddressRange::fromBeginEnd(
mapVirtualRange.endAddress(), virtualRange.endAddress());