Formatting/comment fixes.

This commit is contained in:
Jason Evans 2017-01-17 07:19:17 -08:00
parent 8115f05b26
commit de5e1aff2a
2 changed files with 2 additions and 3 deletions

View File

@ -895,8 +895,8 @@ arena_destroy_retained(tsdn_t *tsdn, arena_t *arena)
* own metadata structures, but if deallocation fails, that is the
* application's decision/problem. In practice, retained extents are
* leaked here if !config_munmap unless the application provided custom
* extent hooks, so best practice to either enable munmap (and avoid dss
* for arenas to be destroyed), or provide custom extent hooks that
* extent hooks, so best practice is to either enable munmap (and avoid
* dss for arenas to be destroyed), or provide custom extent hooks that
* either unmap retained extents or track them for later use.
*/
for (i = 0; i < sizeof(arena->extents_retained)/sizeof(extent_heap_t);

View File

@ -1011,7 +1011,6 @@ extent_dalloc_default_impl(void *addr, size_t size)
return (true);
}
static bool
extent_dalloc_default(extent_hooks_t *extent_hooks, void *addr, size_t size,
bool committed, unsigned arena_ind)