X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fcore.h;h=3f05cd5bc2c64f7cea94638982a1b8c753064371;hb=1dd3616e9eadaba9f1ca86b72d64551fbd75f399;hp=ce2ec8fe4e4232f3661ba6e02654f6ab9efaafba;hpb=4023b1bec2412344e5eea4a33cd85dd662149c67;p=sbcl.git diff --git a/src/runtime/core.h b/src/runtime/core.h index ce2ec8f..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); @@ -39,6 +49,6 @@ extern os_vm_offset_t search_for_embedded_core(char *file); * against a .core built without :SB-SHOW (or against various grosser * mismatches, e.g. a .core built with an old version of the code * against a runtime with patches which add new C code) */ -extern char build_id[]; +extern unsigned char build_id[]; #endif