Disabled everything but CONFIG_DEBUG_RODATA (which adds no overhead, but makes 
the r/o portions of the kernel write-protected).  Depends on 
CONFIG_DEBUG_KERNEL.

Sending as an attachment because TB 3.1 mangles messages.

Signed-off-by: Philip A. Prindeville
---

Index: target/linux/x86/config-default
Index: target/linux/generic/config-2.6.35
===================================================================
--- target/linux/generic/config-2.6.35  (revision 23434)
+++ target/linux/generic/config-2.6.35  (working copy)
@@ -366,6 +366,7 @@
 CONFIG_CONSTRUCTORS=y
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+# CONFIG_CPA_DEBUG is not set
 # CONFIG_CPU_DCACHE_DISABLE is not set
 # CONFIG_CPU_FREQ is not set
 # CONFIG_CPU_IDLE is not set
@@ -465,6 +466,7 @@
 # CONFIG_DAVICOM_PHY is not set
 # CONFIG_DCB is not set
 # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+CONFIG_DEBUG_BOOT_PARMS=y
 # CONFIG_DEBUG_BUGVERBOSE is not set
 # CONFIG_DEBUG_CREDENTIALS is not set
 # CONFIG_DEBUG_DRIVER is not set
@@ -484,14 +486,20 @@
 # CONFIG_DEBUG_NOTIFIERS is not set
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_DEBUG_MUTEXES is not set
+# CONFIG_DEBUG_NX_TEST is not set
 # CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_DEBUG_PAGEALLOC is not set
+# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
 # CONFIG_DEBUG_SG is not set
 # CONFIG_DEBUG_SHIRQ is not set
 # CONFIG_DEBUG_SLAB is not set
 # CONFIG_DEBUG_SPINLOCK is not set
 # CONFIG_DEBUG_SPINLOCK_SLEEP is not set
+# CONFIG_DEBUG_STACKOVERFLOW is not set
 # CONFIG_DEBUG_STACK_USAGE is not set
+# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
 # CONFIG_DEBUG_PREEMPT is not set
+CONFIG_DEBUG_RODATA=y
 # CONFIG_DEBUG_RT_MUTEXES is not set
 # CONFIG_DEBUG_VM is not set
 # CONFIG_DEBUG_WRITECOUNT is not set
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to