From: "Ethan Tidmore" <ethantidmore06@gmail.com>
To: "Marco Lu" <mcl7d9@gmail.com>, <gregkh@linuxfoundation.org>,
<linux-staging@lists.linux.dev>, <linux-kernel@vger.kernel.org>
Cc: "Marco Lu" <mcl7d9@outlook.com>
Subject: Re: [PATCH] staging: rtl8723bs: replace msleep with usleep_range in _rtw_free_evt_priv
Date: Tue, 31 Mar 2026 23:13:23 -0500 [thread overview]
Message-ID: <DHHIXYFSXN6O.12C0XMSLK7NXR@gmail.com> (raw)
In-Reply-To: <20260401034301.31014-1-mcl7d9@outlook.com>
On Tue Mar 31, 2026 at 10:42 PM CDT, Marco Lu wrote:
> The msleep(10) call is an imprecise busy-wait function in
> core/rtw_cmd.c/_rtw_free_evt_priv due to timer jitter.
>
> Replace it with usleep_range(10000, 11000)
> to save CPU cycles to provide more precise timing.
>
> Signed-off-by: Marco Lu <mcl7d9@outlook.com>
> ---
This has been NAKed in the past by Greg. Also, fsleep() is the new API.
Thanks,
ET
prev parent reply other threads:[~2026-04-01 4:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-01 3:42 [PATCH] staging: rtl8723bs: replace msleep with usleep_range in _rtw_free_evt_priv Marco Lu
2026-04-01 4:13 ` Ethan Tidmore [this message]
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=DHHIXYFSXN6O.12C0XMSLK7NXR@gmail.com \
--to=ethantidmore06@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mcl7d9@gmail.com \
--cc=mcl7d9@outlook.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