@@ -393,16 +393,16 @@ static const struct config_enum_entry synchronous_commit_options[] = {
393
393
* Although only "on", "off", "try" are documented, we accept all the likely
394
394
* variants of "on" and "off".
395
395
*/
396
- static const struct config_enum_entry huge_tlb_options [] = {
397
- {"off" , HUGE_TLB_OFF , false},
398
- {"on" , HUGE_TLB_ON , false},
399
- {"try" , HUGE_TLB_TRY , false},
400
- {"true" , HUGE_TLB_ON , true},
401
- {"false" , HUGE_TLB_OFF , true},
402
- {"yes" , HUGE_TLB_ON , true},
403
- {"no" , HUGE_TLB_OFF , true},
404
- {"1" , HUGE_TLB_ON , true},
405
- {"0" , HUGE_TLB_OFF , true},
396
+ static const struct config_enum_entry huge_pages_options [] = {
397
+ {"off" , HUGE_PAGES_OFF , false},
398
+ {"on" , HUGE_PAGES_ON , false},
399
+ {"try" , HUGE_PAGES_TRY , false},
400
+ {"true" , HUGE_PAGES_ON , true},
401
+ {"false" , HUGE_PAGES_OFF , true},
402
+ {"yes" , HUGE_PAGES_ON , true},
403
+ {"no" , HUGE_PAGES_OFF , true},
404
+ {"1" , HUGE_PAGES_ON , true},
405
+ {"0" , HUGE_PAGES_OFF , true},
406
406
{NULL , 0 , false}
407
407
};
408
408
@@ -470,7 +470,7 @@ int tcp_keepalives_count;
470
470
* This really belongs in pg_shmem.c, but is defined here so that it doesn't
471
471
* need to be duplicated in all the different implementations of pg_shmem.c.
472
472
*/
473
- int huge_tlb_pages ;
473
+ int huge_pages ;
474
474
475
475
/*
476
476
* These variables are all dummies that don't do anything, except in some
@@ -3497,12 +3497,12 @@ static struct config_enum ConfigureNamesEnum[] =
3497
3497
},
3498
3498
3499
3499
{
3500
- {"huge_tlb_pages " , PGC_POSTMASTER , RESOURCES_MEM ,
3501
- gettext_noop ("Use of huge TLB pages on Linux" ),
3500
+ {"huge_pages " , PGC_POSTMASTER , RESOURCES_MEM ,
3501
+ gettext_noop ("Use of huge pages on Linux" ),
3502
3502
NULL
3503
3503
},
3504
- & huge_tlb_pages ,
3505
- HUGE_TLB_TRY , huge_tlb_options ,
3504
+ & huge_pages ,
3505
+ HUGE_PAGES_TRY , huge_pages_options ,
3506
3506
NULL , NULL , NULL
3507
3507
},
3508
3508
0 commit comments