File: [Development] / linux-2.6-xfs / arch / i386 / Attic / Kconfig.debug (download)
Revision 1.22, Wed Sep 12 17:09:56 2007 UTC (10 years, 1 month ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.21: +2 -2
lines
Update 2.6.x-xfs to 2.6.23-rc4.
Also update fs/xfs with external mainline changes.
There were 12 such missing commits that I detected:
--------
commit ad690ef9e690f6c31f7d310b09ef1314bcec9033
Author: Al Viro <viro@ftp.linux.org.uk>
xfs ioctl __user annotations
commit 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac
Author: Paul Mundt <lethal@linux-sh.org>
mm: Remove slab destructors from kmem_cache_create().
commit d0217ac04ca6591841e5665f518e38064f4e65bd
Author: Nick Piggin <npiggin@suse.de>
mm: fault feedback #1
commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7
Author: Nick Piggin <npiggin@suse.de>
mm: merge populate and nopage into fault (fixes nonlinear)
commit d00806b183152af6d24f46f0c33f14162ca1262a
Author: Nick Piggin <npiggin@suse.de>
mm: fix fault vs invalidate race for linear mappings
commit a569425512253992cc64ebf8b6d00a62f986db3e
Author: Christoph Hellwig <hch@infradead.org>
knfsd: exportfs: add exportfs.h header
commit 831441862956fffa17b9801db37e6ea1650b0f69
Author: Rafael J. Wysocki <rjw@sisk.pl>
Freezer: make kernel threads nonfreezable by default
commit 8e1f936b73150f5095448a0fee6d4f30a1f9001d
Author: Rusty Russell <rusty@rustcorp.com.au>
mm: clean up and kernelify shrinker registration
commit 5ffc4ef45b3b0a57872f631b4e4ceb8ace0d7496
Author: Jens Axboe <jens.axboe@oracle.com>
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
commit 8bb7844286fb8c9fce6f65d8288aeb09d03a5e0d
Author: Rafael J. Wysocki <rjw@sisk.pl>
Add suspend-related notifications for CPU hotplug
commit 59c51591a0ac7568824f541f57de967e88adaa07
Author: Michael Opdenacker <michael@free-electrons.com>
Fix occurrences of "the the "
commit 0ceb331433e8aad9c5f441a965d7c681f8b9046f
Author: Dmitriy Monakhov <dmonakhov@openvz.org>
mm: move common segment checks to separate helper function
--------
Merge of 2.6.x-xfs-melb:linux:29656b by kenmcd.
|
menu "Kernel hacking"
config TRACE_IRQFLAGS_SUPPORT
bool
default y
source "lib/Kconfig.debug"
config EARLY_PRINTK
bool "Early printk" if EMBEDDED && DEBUG_KERNEL
default y
help
Write kernel log output directly into the VGA buffer or to a serial
port.
This is useful for kernel debugging when your machine crashes very
early before the console code is initialized. For normal operation
it is not recommended because it looks ugly and doesn't cooperate
with klogd/syslogd or the X server. You should normally N here,
unless you want to debug such a crash.
config DEBUG_STACKOVERFLOW
bool "Check for stack overflows"
depends on DEBUG_KERNEL
help
This option will cause messages to be printed if free stack space
drops below a certain limit.
config DEBUG_STACK_USAGE
bool "Stack utilization instrumentation"
depends on DEBUG_KERNEL
help
Enables the display of the minimum amount of free stack which each
task has ever had available in the sysrq-T and sysrq-P debug output.
This option will slow down process creation somewhat.
comment "Page alloc debug is incompatible with Software Suspend on i386"
depends on DEBUG_KERNEL && HIBERNATION
config DEBUG_PAGEALLOC
bool "Debug page memory allocations"
depends on DEBUG_KERNEL && !HIBERNATION && !HUGETLBFS
help
Unmap pages from the kernel linear mapping after free_pages().
This results in a large slowdown, but helps to find certain types
of memory corruptions.
config DEBUG_RODATA
bool "Write protect kernel read-only data structures"
depends on DEBUG_KERNEL
help
Mark the kernel read-only data as write-protected in the pagetables,
in order to catch accidental (and incorrect) writes to such const
data. This option may have a slight performance impact because a
portion of the kernel code won't be covered by a 2MB TLB anymore.
If in doubt, say "N".
config 4KSTACKS
bool "Use 4Kb for kernel stacks instead of 8Kb"
depends on DEBUG_KERNEL
help
If you say Y here the kernel will use a 4Kb stacksize for the
kernel stack attached to each process/thread. This facilitates
running more threads on a system and also reduces the pressure
on the VM subsystem for higher order allocations. This option
will also use IRQ stacks to compensate for the reduced stackspace.
config X86_FIND_SMP_CONFIG
bool
depends on X86_LOCAL_APIC || X86_VOYAGER
default y
config X86_MPPARSE
bool
depends on X86_LOCAL_APIC && !X86_VISWS
default y
config DOUBLEFAULT
default y
bool "Enable doublefault exception handler" if EMBEDDED
help
This option allows trapping of rare doublefault exceptions that
would otherwise cause a system to silently reboot. Disabling this
option saves about 4k and might cause you much additional grey
hair.
config KDB
bool "Built-in Kernel Debugger support"
depends on DEBUG_KERNEL
select KALLSYMS
select KALLSYMS_ALL
help
This option provides a built-in kernel debugger. The built-in
kernel debugger contains commands which allow memory to be examined,
instructions to be disassembled and breakpoints to be set. For details,
see Documentation/kdb/kdb.mm and the manual pages kdb_bt, kdb_ss, etc.
Kdb can also be used via the serial port. Set up the system to
have a serial console (see Documentation/serial-console.txt).
The key sequence <escape>KDB on the serial port will cause the
kernel debugger to be entered with input from the serial port and
output to the serial console. If unsure, say N.
config KDB_MODULES
tristate "KDB modules"
depends on KDB
help
KDB can be extended by adding your own modules, in directory
kdb/modules. This option selects the way that these modules should
be compiled, as free standing modules (select M) or built into the
kernel (select Y). If unsure say M.
config KDB_OFF
bool "KDB off by default"
depends on KDB
help
Normally kdb is activated by default, as long as CONFIG_KDB is set.
If you want to ship a kernel with kdb support but only have kdb
turned on when the user requests it then select this option. When
compiled with CONFIG_KDB_OFF, kdb ignores all events unless you boot
with kdb=on or you echo "1" > /proc/sys/kernel/kdb. This option also
works in reverse, if kdb is normally activated, you can boot with
kdb=off or echo "0" > /proc/sys/kernel/kdb to deactivate kdb. If
unsure, say N.
config KDB_CONTINUE_CATASTROPHIC
int "KDB continues after catastrophic errors"
depends on KDB
default "0"
help
This integer controls the behaviour of kdb when the kernel gets a
catastrophic error, i.e. for a panic, oops, NMI or other watchdog
tripping. CONFIG_KDB_CONTINUE_CATASTROPHIC interacts with
/proc/sys/kernel/kdb and CONFIG_LKCD_DUMP (if your kernel has the
LKCD patch).
When KDB is active (/proc/sys/kernel/kdb == 1) and a catastrophic
error occurs, nothing extra happens until you type 'go'.
CONFIG_KDB_CONTINUE_CATASTROPHIC == 0 (default). The first time
you type 'go', kdb warns you. The second time you type 'go', KDB
tries to continue - no guarantees that the kernel is still usable.
CONFIG_KDB_CONTINUE_CATASTROPHIC == 1. KDB tries to continue - no
guarantees that the kernel is still usable.
CONFIG_KDB_CONTINUE_CATASTROPHIC == 2. If your kernel has the LKCD
patch and LKCD is configured to take a dump then KDB forces a dump.
Whether or not a dump is taken, KDB forces a reboot.
When KDB is not active (/proc/sys/kernel/kdb == 0) and a catastrophic
error occurs, the following steps are automatic, no human
intervention is required.
CONFIG_KDB_CONTINUE_CATASTROPHIC == 0 (default) or 1. KDB attempts
to continue - no guarantees that the kernel is still usable.
CONFIG_KDB_CONTINUE_CATASTROPHIC == 2. If your kernel has the LKCD
patch and LKCD is configured to take a dump then KDB automatically
forces a dump. Whether or not a dump is taken, KDB forces a
reboot.
If you are not sure, say 0. Read Documentation/kdb/dump.txt before
setting to 2.
config KDB_USB
bool "Support for USB Keyboard in KDB (OHCI only)"
depends on KDB && USB_OHCI_HCD
help
If you want to use kdb from a OHCI USB keyboard then say Y here. If you
say N then kdb can only be used from a PC (AT) keyboard or a serial
console.
endmenu