BugID:16846667: Disable kernel statistic function
Details
- In order to use static mutex/sem syscall APIs in user space,
kernel statistic function should be disabled. If kernel
statistic is enabled, kernel would access the global mutex/sem
list, these mutex/sem maybe from different process, page fault
would be araised.
/* kernel stats conf */
#ifndef RHINO_CONFIG_SYSTEM_STATS
-#define RHINO_CONFIG_SYSTEM_STATS 1
+#define RHINO_CONFIG_SYSTEM_STATS 0
#endif
#ifndef RHINO_CONFIG_SCHED_STATS
#define RHINO_CONFIG_SCHED_STATS 0
