mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
[EASY][BUGFIX] Spelling and format
This commit is contained in:
parent
f4b86c4cca
commit
458db0ea28
2 changed files with 3 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ struct pac_thp_s {
|
|||
* opt_thp controls THP for user requested allocations. Settings
|
||||
* "always", "never" and "default" are available if THP is supported
|
||||
* by the OS and the default extent hooks are used:
|
||||
* - "always" and "never" are convered by pages_set_thp_state() in
|
||||
* - "always" and "never" are covered by pages_set_thp_state() in
|
||||
* ehooks_default_alloc_impl().
|
||||
* - "default" makes no change for all the other auto arenas except
|
||||
* the huge arena. For the huge arena, we might also look at
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ hpdata_age_comp(const hpdata_t *a, const hpdata_t *b) {
|
|||
|
||||
ph_gen(, hpdata_age_heap, hpdata_t, age_link, hpdata_age_comp)
|
||||
|
||||
void hpdata_init(hpdata_t *hpdata, void *addr, uint64_t age) {
|
||||
void
|
||||
hpdata_init(hpdata_t *hpdata, void *addr, uint64_t age) {
|
||||
hpdata_addr_set(hpdata, addr);
|
||||
hpdata_age_set(hpdata, age);
|
||||
hpdata->h_huge = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue