X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fcore.h;h=3f05cd5bc2c64f7cea94638982a1b8c753064371;hb=0285aa5ff8416027932daa001b84429be2ca559b;hp=57df1cbc8c878932094f8b2940a7888bbe506641;hpb=7a79c7338b8c8fb6d84a275d7c0e51ce93150059;p=sbcl.git diff --git a/src/runtime/core.h b/src/runtime/core.h index 57df1cb..3f05cd5 100644 --- a/src/runtime/core.h +++ b/src/runtime/core.h @@ -31,6 +31,16 @@ struct ndir_entry { #endif }; +/* Tri-state flag to determine whether we attempt to mark pages + * as targets for virtual memory deduplication (ala MADV_MERGEABLE + * on Linux). + * + * 1: Yes + * 0: No + * -1: default, yes for compressed cores, no otherwise. + */ +extern int merge_core_pages; + extern lispobj load_core_file(char *file, os_vm_offset_t offset); extern os_vm_offset_t search_for_embedded_core(char *file);