printk: Reduce unnecessary wait times by pr_flush()
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 4 repliesIn review
Changes in v2 from the cover letter
+ Split reduction of the pooling time into separate patch.
+ Use jiffies to count the real sleeping time.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | printk: flush consoles before checking progresskernel/ | +7 | 0 replies | |
| 2/2 | printk: Reduce pr_flush() pooling timekernel/ | +13 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | John Ogness |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] printk: Reduce unnecessary wait times by pr_flush()
This is an updated version of the patch
https://lore.kernel.org/r/[email protected]
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(-)
Signature · 1 line
2.35.3