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 =================================================================== --- target/linux/x86/config-default (revision 23434) +++ target/linux/x86/config-default (working copy) @@ -73,6 +73,7 @@ # CONFIG_CS89x0 is not set # CONFIG_DCDBAS is not set CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_DEBUG_VIRTUAL is not set CONFIG_DECOMPRESS_BZIP2=y CONFIG_DECOMPRESS_GZIP=y CONFIG_DECOMPRESS_LZMA=y @@ -319,6 +320,8 @@ CONFIG_SCx200HR_TIMER=y # CONFIG_SCx200_GPIO is not set # CONFIG_SCx200_WDT is not set +# CONFIG_SENSORS_K10TEMP is not set +# CONFIG_SENSORS_VIA_CPUTEMP is not set # CONFIG_SERIAL_8250_EXTENDED is not set CONFIG_SERIAL_8250_PCI=y CONFIG_SERIAL_8250_PNP=y @@ -411,6 +414,7 @@ # CONFIG_X86_POWERNOW_K7 is not set # CONFIG_X86_POWERNOW_K8 is not set CONFIG_X86_PPRO_FENCE=y +# CONFIG_X86_PTDUMP is not set # CONFIG_X86_REBOOTFIXUPS is not set CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y CONFIG_X86_RESERVE_LOW_64K=y Index: target/linux/x86/Makefile =================================================================== --- target/linux/x86/Makefile (revision 23434) +++ target/linux/x86/Makefile (working copy) @@ -12,7 +12,7 @@ FEATURES:=squashfs jffs2 ext2 vdi vmdk pcmcia targz SUBTARGETS=generic olpc xen_domu ep80579 net5501 kvm_guest geos -LINUX_VERSION:=2.6.32.24 +LINUX_VERSION:=2.6.35.7 include $(INCLUDE_DIR)/target.mk 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
