mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
[EASY][BUGFIX] Spelling and format
This commit is contained in:
committed by
Guangli Dai
parent
38b12427b7
commit
2a66c0be5a
@@ -131,7 +131,7 @@ struct pac_thp_s {
|
|||||||
* opt_thp controls THP for user requested allocations. Settings
|
* opt_thp controls THP for user requested allocations. Settings
|
||||||
* "always", "never" and "default" are available if THP is supported
|
* "always", "never" and "default" are available if THP is supported
|
||||||
* by the OS and the default extent hooks are used:
|
* 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().
|
* ehooks_default_alloc_impl().
|
||||||
* - "default" makes no change for all the other auto arenas except
|
* - "default" makes no change for all the other auto arenas except
|
||||||
* the huge arena. For the huge arena, we might also look at
|
* 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)
|
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_addr_set(hpdata, addr);
|
||||||
hpdata_age_set(hpdata, age);
|
hpdata_age_set(hpdata, age);
|
||||||
hpdata->h_huge = false;
|
hpdata->h_huge = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user