lockdep: remove extra "irq" string

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 3, 2009 - 6:03 pm

Gitweb:     http://git.kernel.org/linus/26575e28df5eb2050c02369843faba38cecb4d8c
Commit:     26575e28df5eb2050c02369843faba38cecb4d8c
Parent:     1c21f14ec48a2256fb03682b24dddd23eacdc96f
Author:     Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Wed Mar 4 14:53:24 2009 +0100
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Wed Mar 4 18:38:34 2009 +0100

    lockdep: remove extra "irq" string
    
    Impact: clarify lockdep printk text
    
    print_irq_inversion_bug() gets handed state strings of the form
    
      "HARDIRQ", "SOFTIRQ", "RECLAIM_FS"
    
    and appends "-irq-{un,}safe" to them, which is either redudant for *IRQ or
    confusing in the RECLAIM_FS case.
    
    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <1236175192.5330.7585.camel@laptop>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 kernel/lockdep.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index ef6584f..02014f7 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -1900,9 +1900,9 @@ print_irq_inversion_bug(struct task_struct *curr, struct lock_class *other,
 		curr->comm, task_pid_nr(curr));
 	print_lock(this);
 	if (forwards)
-		printk("but this lock took another, %s-irq-unsafe lock in the past:\n", irqclass);
+		printk("but this lock took another, %s-unsafe lock in the past:\n", irqclass);
 	else
-		printk("but this lock was taken by another, %s-irq-safe lock in the past:\n", irqclass);
+		printk("but this lock was taken by another, %s-safe lock in the past:\n", irqclass);
 	print_lock_name(other);
 	printk("\n\nand interrupts could create inverse lock ordering between them.\n\n");
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
lockdep: remove extra "irq" string, Linux Kernel Mailing ..., (Fri Apr 3, 6:03 pm)