NFC: Accumulated nits in comments
Mostly, promote some inline commentary to doc comments. A typo and some stale text can go, too.
This commit is contained in:
committed by
Nathaniel Wesley Filardo
parent
73ebb69955
commit
3109ae9f72
@@ -68,6 +68,9 @@ namespace snmalloc
|
||||
: remote_allocator(remote_allocator)
|
||||
{}
|
||||
|
||||
/**
|
||||
* Return all the free lists to the allocator. Used during thread teardown.
|
||||
*/
|
||||
template<
|
||||
size_t allocator_size,
|
||||
typename SharedStateHandle,
|
||||
@@ -77,8 +80,6 @@ namespace snmalloc
|
||||
{
|
||||
auto& key = entropy.get_free_list_key();
|
||||
|
||||
// Return all the free lists to the allocator.
|
||||
// Used during thread teardown
|
||||
for (size_t i = 0; i < NUM_SIZECLASSES; i++)
|
||||
{
|
||||
// TODO could optimise this, to return the whole list in one append
|
||||
|
||||
Reference in New Issue
Block a user