diff options
author | David Howells <dhowells@redhat.com> | 2005-09-06 15:16:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:18 -0700 |
commit | fe21773d655c2c64641ec2cef499289ea175c817 (patch) | |
tree | ebc1f49f0b7135aa05bbf3a5463a6e1c238add89 /kernel/auditsc.c | |
parent | c3d8c1414573be8cf7c8fdc1e076935697c7f6af (diff) |
[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 <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions