lkml.org 
[lkml]   [2023]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] printk: Reduce unnecessary wait times by pr_flush()
Date
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

\
 
 \ /
  Last update: 2023-10-06 10:22    [W:0.068 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site