[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mm-commits
Subject: + printk-levels-for-spinlock-debug.patch added to -mm tree
From: akpm () osdl ! org
Date: 2005-11-30 22:59:43
Message-ID: 200511302259.jAUMxTat014339 () shell0 ! pdx ! osdl ! net
[Download RAW message or body]
The patch titled
printk levels for spinlock debug
has been added to the -mm tree. Its filename is
printk-levels-for-spinlock-debug.patch
From: Dave Jones <davej@redhat.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
lib/spinlock_debug.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff -puN lib/spinlock_debug.c~printk-levels-for-spinlock-debug lib/spinlock_debug.c
--- 25/lib/spinlock_debug.c~printk-levels-for-spinlock-debug Wed Nov 30 15:00:43 2005
+++ 25-akpm/lib/spinlock_debug.c Wed Nov 30 15:00:43 2005
@@ -19,9 +19,9 @@ static void spin_bug(spinlock_t *lock, c
if (xchg(&print_once, 0)) {
if (lock->owner && lock->owner != SPINLOCK_OWNER_INIT)
owner = lock->owner;
- printk("BUG: spinlock %s on CPU#%d, %s/%d\n",
+ printk(KERN_EMERG "BUG: spinlock %s on CPU#%d, %s/%d\n",
msg, smp_processor_id(), current->comm, current->pid);
- printk(" lock: %p, .magic: %08x, .owner: %s/%d, .owner_cpu: %d\n",
+ printk(KERN_EMERG " lock: %p, .magic: %08x, .owner: %s/%d, .owner_cpu: %d\n",
lock, lock->magic,
owner ? owner->comm : "<none>",
owner ? owner->pid : -1,
@@ -77,7 +77,7 @@ static void __spin_lock_debug(spinlock_t
/* lockup suspected: */
if (print_once) {
print_once = 0;
- printk("BUG: spinlock lockup on CPU#%d, %s/%d, %p\n",
+ printk(KERN_EMERG "BUG: spinlock lockup on CPU#%d, %s/%d, %p\n",
smp_processor_id(), current->comm, current->pid,
lock);
dump_stack();
@@ -119,7 +119,7 @@ static void rwlock_bug(rwlock_t *lock, c
static long print_once = 1;
if (xchg(&print_once, 0)) {
- printk("BUG: rwlock %s on CPU#%d, %s/%d, %p\n", msg,
+ printk(KERN_EMERG "BUG: rwlock %s on CPU#%d, %s/%d, %p\n", msg,
smp_processor_id(), current->comm, current->pid, lock);
dump_stack();
#ifdef CONFIG_SMP
@@ -147,7 +147,7 @@ static void __read_lock_debug(rwlock_t *
/* lockup suspected: */
if (print_once) {
print_once = 0;
- printk("BUG: read-lock lockup on CPU#%d, %s/%d, %p\n",
+ printk(KERN_EMERG "BUG: read-lock lockup on CPU#%d, %s/%d, %p\n",
smp_processor_id(), current->comm, current->pid,
lock);
dump_stack();
@@ -219,7 +219,7 @@ static void __write_lock_debug(rwlock_t
/* lockup suspected: */
if (print_once) {
print_once = 0;
- printk("BUG: write-lock lockup on CPU#%d, %s/%d, %p\n",
+ printk(KERN_EMERG "BUG: write-lock lockup on CPU#%d, %s/%d, %p\n",
smp_processor_id(), current->comm, current->pid,
lock);
dump_stack();
_
Patches currently in -mm which might be from davej@redhat.com are
linus.patch
acpi-disable-c2-c3-for-_all_-ibm-r40e-laptops-for-2613-bug-3549.patch
git-cpufreq.patch
mark-rodata-section-read-only-make-some-datastructures-const.patch
x86-change-page-attr-fix.patch
x86-change-page-attr-fix-fix.patch
x86-change-page-attr-fix-fix-fix.patch
printk-levels-for-spinlock-debug.patch
printk-levels-for-i386-oops-code.patch
post-halloween-doc.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic