MetaEntry: split get_metaslab by intent
This commit is contained in:
committed by
Nathaniel Wesley Filardo
parent
599ae0e632
commit
3cdb7be478
@@ -125,7 +125,7 @@ namespace snmalloc
|
||||
const MetaEntry& t = Pagemap::template get_metaentry<false>(
|
||||
local_state, address_cast(base));
|
||||
return capptr::Chunk<FreeChunk>(
|
||||
reinterpret_cast<FreeChunk*>(t.get_metaslab()));
|
||||
reinterpret_cast<FreeChunk*>(t.get_metaslab_no_remote()));
|
||||
}
|
||||
|
||||
return base->next;
|
||||
|
||||
Reference in New Issue
Block a user