From: Jiri Slaby <jirislaby@kernel.org>
To: Jim Cromie <jim.cromie@gmail.com>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
amd-gfx@lists.freedesktop.org,
intel-gvt-dev@lists.freedesktop.org,
intel-gfx@lists.freedesktop.org
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Petr Mladek" <pmladek@suse.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Dr. David Alan Gilbert" <linux@treblig.org>,
"Joseph Tilahun" <jtilahun@astranis.com>,
linux-serial@vger.kernel.org
Subject: Re: [RFC PATCH 3/7] drivers/tty/serial/serial_core: ratelimit uart_wait_until_sent
Date: Fri, 6 Mar 2026 07:32:37 +0100 [thread overview]
Message-ID: <51fed793-869b-4a5b-b90f-2ba80c13d773@kernel.org> (raw)
In-Reply-To: <20260306015022.1940986-4-jim.cromie@gmail.com>
On 06. 03. 26, 2:50, Jim Cromie wrote:
> Ratelimiting these pr_debug()s can reduce the console flood during
> bulk dynamic-debug activation, in environments where a serial console
> is used.
>
> Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
> ---
> drivers/tty/serial/serial_core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
> index 487756947a96..6db465619c70 100644
> --- a/drivers/tty/serial/serial_core.c
> +++ b/drivers/tty/serial/serial_core.c
> @@ -1790,8 +1790,8 @@ static void uart_wait_until_sent(struct tty_struct *tty, int timeout)
>
> expire = jiffies + timeout;
>
> - pr_debug("uart_wait_until_sent(%u), jiffies=%lu, expire=%lu...\n",
> - port->line, jiffies, expire);
> + pr_debug_ratelimited("waiting on (%u) jiffies=%lu, expire=%lu...\n",
> + port->line, jiffies, expire);
The changed message does not make any sense.
--
js
suse labs
next prev parent reply other threads:[~2026-03-06 6:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260306015022.1940986-1-jim.cromie@gmail.com>
2026-03-06 1:50 ` [RFC PATCH 3/7] drivers/tty/serial/serial_core: ratelimit uart_wait_until_sent Jim Cromie
2026-03-06 6:32 ` Jiri Slaby [this message]
2026-03-06 14:02 ` jim.cromie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51fed793-869b-4a5b-b90f-2ba80c13d773@kernel.org \
--to=jirislaby@kernel.org \
--cc=amd-gfx@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-gvt-dev@lists.freedesktop.org \
--cc=jim.cromie@gmail.com \
--cc=jtilahun@astranis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux@treblig.org \
--cc=pmladek@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox