Messages in this thread | | | From | Petr Mladek <> | Subject | [PATCH v2 0/2] printk: Reduce unnecessary wait times by pr_flush() | Date | Fri, 6 Oct 2023 10:21:49 +0200 |
| |
This is an updated version of the patch https://lore.kernel.org/r/20230929113233.863824-1-john.ogness@linutronix.de
Changes since v1:
+ Split reduction of the pooling time into separate patch. + Use jiffies to count the real sleeping time.
Note that my original POC counted jiffies spent in the entire cycle. It would count also the time spent by console_lock() and by flushing the legacy consoles in console_unlock().
The current version counts only the time spent by msleep(1) aka the pooling interval.
John Ogness (1): printk: flush consoles before checking progress
Petr Mladek (1): printk: Reduce pr_flush() pooling time
kernel/printk/printk.c | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-)
-- 2.35.3
| |