From: David Howells Date: Tue, 6 Sep 2005 22:16:34 +0000 (-0700) Subject: [PATCH] Provide better printk() support for SMP machines X-Git-Tag: v2.6.14-rc1~731 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe21773d655c2c64641ec2cef499289ea175c817;p=pandora-kernel.git [PATCH] Provide better printk() support for SMP machines The attached patch prevents oopses interleaving with characters from other printks on other CPUs by only breaking the lock if the oops is happening on the machine holding the lock. It might be better if the oops generator got the lock and then called an inner vprintk routine that assumed the caller holds the lock, thus making oops reports "atomic". Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed