[PATCH 2/2] Preempt realtime printk syslog

2008-02-15 Thread Min Zhang
Add 50s timeout in do_syslog to poll printk from non-preemptible section. printk is missing from syslog if from non-preemptible section, because on PREEMPT_RT kernels, printk doesn't wake up syslogd from non-preemptible section; see release_console_sem in kernel/printk.c. Tested by printk in

[PATCH 2/2] Preempt realtime printk syslog

2008-02-15 Thread Min Zhang
Add 50s timeout in do_syslog to poll printk from non-preemptible section. printk is missing from syslog if from non-preemptible section, because on PREEMPT_RT kernels, printk doesn't wake up syslogd from non-preemptible section; see release_console_sem in kernel/printk.c. Tested by printk in