diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 16:37:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 16:37:30 -0400 |
commit | 609862be074cc20e007c640fd936ffe798b41abc (patch) | |
tree | 2ebcacf036fce1b075fe267f608b6abe3f196c67 /kernel/lockdep.c | |
parent | 12fe32e4f942ac5c71a4ab70b039fee65c0dc29d (diff) | |
parent | eedeeabdeeadb016b8c783e3620d06b98d0cb4e1 (diff) |
Merge branch 'locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
lockdep: add stack dumps to asserts
hrtimer: fix rq->lock inversion (again)
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r-- | kernel/lockdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 81b5f33970b8..b0f011866969 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c | |||
@@ -793,6 +793,7 @@ register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) | |||
793 | 793 | ||
794 | printk("BUG: MAX_LOCKDEP_KEYS too low!\n"); | 794 | printk("BUG: MAX_LOCKDEP_KEYS too low!\n"); |
795 | printk("turning off the locking correctness validator.\n"); | 795 | printk("turning off the locking correctness validator.\n"); |
796 | dump_stack(); | ||
796 | return NULL; | 797 | return NULL; |
797 | } | 798 | } |
798 | class = lock_classes + nr_lock_classes++; | 799 | class = lock_classes + nr_lock_classes++; |
@@ -856,6 +857,7 @@ static struct lock_list *alloc_list_entry(void) | |||
856 | 857 | ||
857 | printk("BUG: MAX_LOCKDEP_ENTRIES too low!\n"); | 858 | printk("BUG: MAX_LOCKDEP_ENTRIES too low!\n"); |
858 | printk("turning off the locking correctness validator.\n"); | 859 | printk("turning off the locking correctness validator.\n"); |
860 | dump_stack(); | ||
859 | return NULL; | 861 | return NULL; |
860 | } | 862 | } |
861 | return list_entries + nr_list_entries++; | 863 | return list_entries + nr_list_entries++; |
@@ -1682,6 +1684,7 @@ cache_hit: | |||
1682 | 1684 | ||
1683 | printk("BUG: MAX_LOCKDEP_CHAINS too low!\n"); | 1685 | printk("BUG: MAX_LOCKDEP_CHAINS too low!\n"); |
1684 | printk("turning off the locking correctness validator.\n"); | 1686 | printk("turning off the locking correctness validator.\n"); |
1687 | dump_stack(); | ||
1685 | return 0; | 1688 | return 0; |
1686 | } | 1689 | } |
1687 | chain = lock_chains + nr_lock_chains++; | 1690 | chain = lock_chains + nr_lock_chains++; |
@@ -2541,6 +2544,7 @@ static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, | |||
2541 | debug_locks_off(); | 2544 | debug_locks_off(); |
2542 | printk("BUG: MAX_LOCKDEP_SUBCLASSES too low!\n"); | 2545 | printk("BUG: MAX_LOCKDEP_SUBCLASSES too low!\n"); |
2543 | printk("turning off the locking correctness validator.\n"); | 2546 | printk("turning off the locking correctness validator.\n"); |
2547 | dump_stack(); | ||
2544 | return 0; | 2548 | return 0; |
2545 | } | 2549 | } |
2546 | 2550 | ||
@@ -2637,6 +2641,7 @@ static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, | |||
2637 | debug_locks_off(); | 2641 | debug_locks_off(); |
2638 | printk("BUG: MAX_LOCK_DEPTH too low!\n"); | 2642 | printk("BUG: MAX_LOCK_DEPTH too low!\n"); |
2639 | printk("turning off the locking correctness validator.\n"); | 2643 | printk("turning off the locking correctness validator.\n"); |
2644 | dump_stack(); | ||
2640 | return 0; | 2645 | return 0; |
2641 | } | 2646 | } |
2642 | 2647 | ||