From 2a66c0be5a3727817ccf95c6150d10c19aae00f4 Mon Sep 17 00:00:00 2001 From: Slobodan Predolac Date: Sat, 23 Aug 2025 08:53:28 -0700 Subject: [PATCH] [EASY][BUGFIX] Spelling and format --- include/jemalloc/internal/pac.h | 2 +- src/hpdata.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/jemalloc/internal/pac.h b/include/jemalloc/internal/pac.h index a9edc19b..a19c8b35 100644 --- a/include/jemalloc/internal/pac.h +++ b/include/jemalloc/internal/pac.h @@ -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 diff --git a/src/hpdata.c b/src/hpdata.c index e9ee2738..e18e03cd 100644 --- a/src/hpdata.c +++ b/src/hpdata.c @@ -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;