Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit b32dbd04 authored by Frank Rowand's avatar Frank Rowand Committed by Steven Rostedt
Browse files

sysrq: Allow immediate Magic SysRq output for PREEMPT_RT_FULL


Add a CONFIG option to allow the output from Magic SysRq to be output
immediately, even if this causes large latencies.

If PREEMPT_RT_FULL, printk() will not try to acquire the console lock
when interrupts or preemption are disabled.  If the console lock is
not acquired the printk() output will be buffered, but will not be
output immediately. Some drivers call into the Magic SysRq code
with interrupts or preemption disabled, so the output of Magic SysRq
will be buffered instead of printing immediately if this option is
not selected.

Even with this option selected, Magic SysRq output will be delayed
if the attempt to acquire the console lock fails.

Signed-off-by: default avatarFrank Rowand <frank.rowand@am.sony.com>
Link: http://lkml.kernel.org/r/4E7CEF60.5020508@am.sony.com


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 464090b0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment