- all processes have private pagetables if CONFIG_SMP is set - this make possible to safely schedule PM, RS, VFS anywhere
		
			
				
	
	
		
			17 lines
		
	
	
		
			372 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			372 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef PERF_H
 | 
						|
#define PERF_H
 | 
						|
 | 
						|
/* This header file defines all performance-related constants and macros. */
 | 
						|
 | 
						|
/* Enable copy-on-write optimization for safecopy. */
 | 
						|
#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 */
 |