@@ -393,16 +393,16 @@ static const struct config_enum_entry synchronous_commit_options[] = {
393393 * Although only "on", "off", "try" are documented, we accept all the likely
394394 * variants of "on" and "off".
395395 */
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},
406406{NULL ,0 , false}
407407};
408408
@@ -470,7 +470,7 @@ inttcp_keepalives_count;
470470 * This really belongs in pg_shmem.c, but is defined here so that it doesn't
471471 * need to be duplicated in all the different implementations of pg_shmem.c.
472472 */
473- int huge_tlb_pages ;
473+ int huge_pages ;
474474
475475/*
476476 * These variables are all dummies that don't do anything, except in some
@@ -3497,12 +3497,12 @@ static struct config_enum ConfigureNamesEnum[] =
34973497},
34983498
34993499{
3500- {"huge_tlb_pages " ,PGC_POSTMASTER ,RESOURCES_MEM ,
3501- gettext_noop ("Use of hugeTLB pages on Linux" ),
3500+ {"huge_pages " ,PGC_POSTMASTER ,RESOURCES_MEM ,
3501+ gettext_noop ("Use of huge pages on Linux" ),
35023502NULL
35033503},
3504- & huge_tlb_pages ,
3505- HUGE_TLB_TRY , huge_tlb_options ,
3504+ & huge_pages ,
3505+ HUGE_PAGES_TRY , huge_pages_options ,
35063506NULL ,NULL ,NULL
35073507},
35083508