Ver código fonte

[Linux PAL] Disable caching loaded and relocated binaries

Chia-Che Tsai 6 anos atrás
pai
commit
74527989be
1 arquivos alterados com 2 adições e 6 exclusões
  1. 2 6
      Pal/src/pal_defs.h

+ 2 - 6
Pal/src/pal_defs.h

@@ -4,12 +4,8 @@
 #ifndef PAL_DEFS_H
 #define PAL_DEFS_H
 
-/* enable caching loaded binaries for optimizing process creation */
-#ifdef LINUX
-# define CACHE_LOADED_BINARIES   1
-#else
-# define CACHE_LOADED_BINARIES   0
-#endif
+/* (Linux-only) enable caching loaded binaries for optimizing process creation */
+#define CACHE_LOADED_BINARIES    0      /* default: disabled */
 
 /* statically allocate slab manager */
 #define STATIC_SLAB              1