diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-08-04 07:59:13 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-08-04 07:59:13 -0400 |
| commit | 772320e84588dcbe1600ffb83e5f328f2209ac2a (patch) | |
| tree | a7de21b79340aeaa17c58126f6b801b82c77b53a /lib | |
| parent | 1ce53adf13a54375d2a5c7cdbe341b2558389615 (diff) | |
| parent | 9fe6206f400646a2322096b56c59891d530e8d51 (diff) | |
Merge commit 'v2.6.35' into kbuild/kbuild
Conflicts:
arch/powerpc/Makefile
Diffstat (limited to 'lib')
46 files changed, 2160 insertions, 983 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 97b136ff117e..5b916bc0fbae 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
| @@ -160,6 +160,9 @@ config TEXTSEARCH_BM | |||
| 160 | config TEXTSEARCH_FSM | 160 | config TEXTSEARCH_FSM |
| 161 | tristate | 161 | tristate |
| 162 | 162 | ||
| 163 | config BTREE | ||
| 164 | boolean | ||
| 165 | |||
| 163 | config HAS_IOMEM | 166 | config HAS_IOMEM |
| 164 | boolean | 167 | boolean |
| 165 | depends on !NO_IOMEM | 168 | depends on !NO_IOMEM |
| @@ -178,9 +181,6 @@ config HAS_DMA | |||
| 178 | config CHECK_SIGNATURE | 181 | config CHECK_SIGNATURE |
| 179 | bool | 182 | bool |
| 180 | 183 | ||
| 181 | config HAVE_LMB | ||
| 182 | boolean | ||
| 183 | |||
| 184 | config CPUMASK_OFFSTACK | 184 | config CPUMASK_OFFSTACK |
| 185 | bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS | 185 | bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS |
| 186 | help | 186 | help |
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 2af5d84ec824..083b23d211d6 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -103,7 +103,8 @@ config HEADERS_CHECK | |||
| 103 | 103 | ||
| 104 | config DEBUG_SECTION_MISMATCH | 104 | config DEBUG_SECTION_MISMATCH |
| 105 | bool "Enable full Section mismatch analysis" | 105 | bool "Enable full Section mismatch analysis" |
| 106 | depends on UNDEFINED | 106 | depends on UNDEFINED || (BLACKFIN) |
| 107 | default y | ||
| 107 | # This option is on purpose disabled for now. | 108 | # This option is on purpose disabled for now. |
| 108 | # It will be enabled when we are down to a reasonable number | 109 | # It will be enabled when we are down to a reasonable number |
| 109 | # of section mismatch warnings (< 10 for an allyesconfig build) | 110 | # of section mismatch warnings (< 10 for an allyesconfig build) |
| @@ -355,7 +356,7 @@ config SLUB_STATS | |||
| 355 | config DEBUG_KMEMLEAK | 356 | config DEBUG_KMEMLEAK |
| 356 | bool "Kernel memory leak detector" | 357 | bool "Kernel memory leak detector" |
| 357 | depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \ | 358 | depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \ |
| 358 | (X86 || ARM || PPC || S390) | 359 | (X86 || ARM || PPC || S390 || SPARC64 || SUPERH || MICROBLAZE) |
| 359 | 360 | ||
| 360 | select DEBUG_FS if SYSFS | 361 | select DEBUG_FS if SYSFS |
| 361 | select STACKTRACE if STACKTRACE_SUPPORT | 362 | select STACKTRACE if STACKTRACE_SUPPORT |
| @@ -499,6 +500,30 @@ config PROVE_LOCKING | |||
| 499 | 500 | ||
| 500 | For more details, see Documentation/lockdep-design.txt. | 501 | For more details, see Documentation/lockdep-design.txt. |
| 501 | 502 | ||
| 503 | config PROVE_RCU | ||
| 504 | bool "RCU debugging: prove RCU correctness" | ||
| 505 | depends on PROVE_LOCKING | ||
| 506 | default n | ||
| 507 | help | ||
| 508 | This feature enables lockdep extensions that check for correct | ||
| 509 | use of RCU APIs. This is currently under development. Say Y | ||
| 510 | if you want to debug RCU usage or help work on the PROVE_RCU | ||
| 511 | feature. | ||
| 512 | |||
| 513 | Say N if you are unsure. | ||
| 514 | |||
| 515 | config PROVE_RCU_REPEATEDLY | ||
| 516 | bool "RCU debugging: don't disable PROVE_RCU on first splat" | ||
| 517 | depends on PROVE_RCU | ||
| 518 | default n | ||
| 519 | help | ||
| 520 | By itself, PROVE_RCU will disable checking upon issuing the | ||
| 521 | first warning (or "splat"). This feature prevents such | ||
| 522 | disabling, allowing multiple RCU-lockdep warnings to be printed | ||
| 523 | on a single reboot. | ||
| 524 | |||
| 525 | Say N if you are unsure. | ||
| 526 | |||
| 502 | config LOCKDEP | 527 | config LOCKDEP |
| 503 | bool | 528 | bool |
| 504 | depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT | 529 | depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT |
| @@ -520,6 +545,14 @@ config LOCK_STAT | |||
| 520 | 545 | ||
| 521 | For more details, see Documentation/lockstat.txt | 546 | For more details, see Documentation/lockstat.txt |
| 522 | 547 | ||
| 548 | This also enables lock events required by "perf lock", | ||
| 549 | subcommand of perf. | ||
| 550 | If you want to use "perf lock", you also need to turn on | ||
| 551 | CONFIG_EVENT_TRACING. | ||
| 552 | |||
| 553 | CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. | ||
| 554 | (CONFIG_LOCKDEP defines "acquire" and "release" events.) | ||
| 555 | |||
| 523 | config DEBUG_LOCKDEP | 556 | config DEBUG_LOCKDEP |
| 524 | bool "Lock dependency engine debugging" | 557 | bool "Lock dependency engine debugging" |
| 525 | depends on DEBUG_KERNEL && LOCKDEP | 558 | depends on DEBUG_KERNEL && LOCKDEP |
| @@ -778,10 +811,22 @@ config RCU_CPU_STALL_DETECTOR | |||
| 778 | CPUs are delaying the current grace period, but only when | 811 | CPUs are delaying the current grace period, but only when |
| 779 | the grace period extends for excessive time periods. | 812 | the grace period extends for excessive time periods. |
| 780 | 813 | ||
| 781 | Say Y if you want RCU to perform such checks. | 814 | Say N if you want to disable such checks. |
| 815 | |||
| 816 | Say Y if you are unsure. | ||
| 817 | |||
| 818 | config RCU_CPU_STALL_VERBOSE | ||
| 819 | bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" | ||
| 820 | depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU | ||
| 821 | default y | ||
| 822 | help | ||
| 823 | This option causes RCU to printk detailed per-task information | ||
| 824 | for any tasks that are stalling the current RCU grace period. | ||
| 782 | 825 | ||
| 783 | Say N if you are unsure. | 826 | Say N if you are unsure. |
| 784 | 827 | ||
| 828 | Say Y if you want to enable such checks. | ||
| 829 | |||
| 785 | config KPROBES_SANITY_TEST | 830 | config KPROBES_SANITY_TEST |
| 786 | bool "Kprobes sanity tests" | 831 | bool "Kprobes sanity tests" |
| 787 | depends on DEBUG_KERNEL | 832 | depends on DEBUG_KERNEL |
| @@ -853,8 +898,7 @@ config DEBUG_FORCE_WEAK_PER_CPU | |||
| 853 | |||
