OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 29... Line 29...
29 depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64) 29 depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64)
30 default y 30 default y
Line 31... Line 31...
31   31  
32 config KERNEL_SWAP 32 config KERNEL_SWAP
33 bool "Support for paging of anonymous memory (swap)" 33 bool "Support for paging of anonymous memory (swap)"
Line 34... Line 34...
34 default y if !SMALL_FLASH 34 default y
35   35  
36 config KERNEL_DEBUG_FS 36 config KERNEL_DEBUG_FS
37 bool "Compile the kernel with debug filesystem enabled" 37 bool "Compile the kernel with debug filesystem enabled"
Line 63... Line 63...
63 select KERNEL_PERF_EVENTS 63 select KERNEL_PERF_EVENTS
64 help 64 help
65 Enable the extended profiling support mechanisms used by profilers such 65 Enable the extended profiling support mechanisms used by profilers such
66 as OProfile. 66 as OProfile.
Line 67... Line -...
67   -  
68 config KERNEL_TASKSTATS -  
69 bool "Compile the kernel with task resource/io statistics and accounting" -  
70 default n -  
71 help -  
72 Enable the collection and publishing of task/io statistics and -  
73 accounting. Enable this option to enable i/o monitoring in system -  
74 monitors. -  
75   -  
76 if KERNEL_TASKSTATS -  
77   -  
78 config KERNEL_TASK_DELAY_ACCT -  
79 def_bool y -  
80   -  
81 config KERNEL_TASK_IO_ACCOUNTING -  
82 def_bool y -  
83   -  
84 config KERNEL_TASK_XACCT -  
85 def_bool y -  
86   -  
87 endif -  
88   67  
89 config KERNEL_KALLSYMS 68 config KERNEL_KALLSYMS
90 bool "Compile the kernel with symbol table information" 69 bool "Compile the kernel with symbol table information"
91 default y if !SMALL_FLASH 70 default y if !SMALL_FLASH
92 help 71 help
Line 131... Line 110...
131 bool 110 bool
132 default n 111 default n
Line 133... Line 112...
133   112  
134 config KERNEL_DEBUG_INFO 113 config KERNEL_DEBUG_INFO
135 bool "Compile the kernel with debug information" 114 bool "Compile the kernel with debug information"
136 default y if !SMALL_FLASH 115 default y
137 select KERNEL_DEBUG_KERNEL 116 select KERNEL_DEBUG_KERNEL
138 help 117 help
Line 139... Line 118...
139 This will compile your kernel and modules with debug information. 118 This will compile your kernel and modules with debug information.
Line 224... Line 203...
224 bool 203 bool
Line 225... Line 204...
225   204  
226 config KERNEL_ELF_CORE 205 config KERNEL_ELF_CORE
227 bool "Enable process core dump support" 206 bool "Enable process core dump support"
228 select KERNEL_COREDUMP 207 select KERNEL_COREDUMP
Line 229... Line 208...
229 default y if !SMALL_FLASH 208 default y
230   209  
231 config KERNEL_PROVE_LOCKING 210 config KERNEL_PROVE_LOCKING
232 bool "Enable kernel lock checking" 211 bool "Enable kernel lock checking"
Line 517... Line 496...
517 One needs to also enable actual IO controlling logic/policy. For 496 One needs to also enable actual IO controlling logic/policy. For
518 enabling proportional weight division of disk bandwidth in CFQ, set 497 enabling proportional weight division of disk bandwidth in CFQ, set
519 CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set 498 CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
520 CONFIG_BLK_DEV_THROTTLING=y. 499 CONFIG_BLK_DEV_THROTTLING=y.
Line 521... Line -...
521   -  
522 if KERNEL_BLK_CGROUP -  
523   -  
524 config KERNEL_CFQ_GROUP_IOSCHED -  
525 bool "Proportional weight of disk bandwidth in CFQ" -  
526   -  
527 config KERNEL_BLK_DEV_THROTTLING -  
528 bool "Enable throttling policy" -  
529 default y if TARGET_brcm2708 -  
530   -  
531 config KERNEL_BLK_DEV_THROTTLING_LOW -  
532 bool "Block throttling .low limit interface support (EXPERIMENTAL)" -  
533 depends on KERNEL_BLK_DEV_THROTTLING -  
534 endif -  
535   500  
536 config KERNEL_DEBUG_BLK_CGROUP 501 config KERNEL_DEBUG_BLK_CGROUP
537 bool "Enable Block IO controller debugging" 502 bool "Enable Block IO controller debugging"
538 default n 503 default n
539 depends on KERNEL_BLK_CGROUP 504 depends on KERNEL_BLK_CGROUP
Line 818... Line 783...
818 bool "/dev/kmem virtual device support" 783 bool "/dev/kmem virtual device support"
819 help 784 help
820 Say Y here if you want to support the /dev/kmem device. The 785 Say Y here if you want to support the /dev/kmem device. The
821 /dev/kmem device is rarely used, but can be used for certain 786 /dev/kmem device is rarely used, but can be used for certain
822 kind of kernel debugging operations. 787 kind of kernel debugging operations.
823   -  
824 config KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE -  
825 int "Number of squashfs fragments cached" -  
826 default 2 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT) -  
827 default 3 -  
828   -  
829 # -  
830 # compile optimiziation setting -  
831 # -  
832 choice -  
833 prompt "Compiler optimization level" -  
834 default KERNEL_CC_OPTIMIZE_FOR_SIZE if SMALL_FLASH -  
835   -  
836 config KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE -  
837 bool "Optimize for performance" -  
838 help -  
839 This is the default optimization level for the kernel, building -  
840 with the "-O2" compiler flag for best performance and most -  
841 helpful compile-time warnings. -  
842   -  
843 config KERNEL_CC_OPTIMIZE_FOR_SIZE -  
844 bool "Optimize for size" -  
845 help -  
846 Enabling this option will pass "-Os" instead of "-O2" to -  
847 your compiler resulting in a smaller kernel. -  
848   -  
849 endchoice -