[EASY][BUGFIX] Spelling and format

This commit is contained in:
Slobodan Predolac 2025-08-23 08:53:28 -07:00 committed by Guangli Dai
parent 38b12427b7
commit 2a66c0be5a
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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;