]> Zhao Yanbai Git Server - minix.git/commitdiff
SMP - all process have pagetables
authorTomas Hruby <tom@minix3.org>
Wed, 15 Sep 2010 14:11:30 +0000 (14:11 +0000)
committerTomas Hruby <tom@minix3.org>
Wed, 15 Sep 2010 14:11:30 +0000 (14:11 +0000)
- all processes have private pagetables if CONFIG_SMP is set

- this make possible to safely schedule PM, RS, VFS anywhere

kernel/perf.h

index 4bf9bb445838f89b427b2790904ec7664780f731..8dcf53b238711096806e3222794bf6e16a1bec66 100644 (file)
@@ -7,6 +7,10 @@
 #define PERF_USE_COW_SAFECOPY 0
 
 /* Use a private page table for critical system processes. */
+#ifdef CONFIG_SMP
+#define PERF_SYS_CORE_FULLVM 1
+#else
 #define PERF_SYS_CORE_FULLVM 0
+#endif
 
 #endif /* PERF_H */