소스 검색

[Linux PAL] Disable caching loaded and relocated binaries

Chia-Che Tsai 7 년 전
부모
커밋
74527989be
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  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