Formatting/comment fixes.
This commit is contained in:
parent
8115f05b26
commit
de5e1aff2a
@ -895,8 +895,8 @@ arena_destroy_retained(tsdn_t *tsdn, arena_t *arena)
|
|||||||
* own metadata structures, but if deallocation fails, that is the
|
* own metadata structures, but if deallocation fails, that is the
|
||||||
* application's decision/problem. In practice, retained extents are
|
* application's decision/problem. In practice, retained extents are
|
||||||
* leaked here if !config_munmap unless the application provided custom
|
* leaked here if !config_munmap unless the application provided custom
|
||||||
* extent hooks, so best practice to either enable munmap (and avoid dss
|
* extent hooks, so best practice is to either enable munmap (and avoid
|
||||||
* for arenas to be destroyed), or provide custom extent hooks that
|
* dss for arenas to be destroyed), or provide custom extent hooks that
|
||||||
* either unmap retained extents or track them for later use.
|
* either unmap retained extents or track them for later use.
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < sizeof(arena->extents_retained)/sizeof(extent_heap_t);
|
for (i = 0; i < sizeof(arena->extents_retained)/sizeof(extent_heap_t);
|
||||||
|
@ -1011,7 +1011,6 @@ extent_dalloc_default_impl(void *addr, size_t size)
|
|||||||
return (true);
|
return (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
extent_dalloc_default(extent_hooks_t *extent_hooks, void *addr, size_t size,
|
extent_dalloc_default(extent_hooks_t *extent_hooks, void *addr, size_t size,
|
||||||
bool committed, unsigned arena_ind)
|
bool committed, unsigned arena_ind)
|
||||||
|
Loading…
Reference in New Issue
Block a user