From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EE56393DD2 for ; Mon, 9 Mar 2026 13:37:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773063461; cv=none; b=byr9jLLKTzBnwH+6nZ8grbSEp3KDAoUqWDqWWTNrRLidF1o8epUUvNpf8IH0QiKHgHOfOaddWgHDcPrGSsbIDIK9LUZjYnFxrXSt9mnPpaEpDRToJtBz5LT/M+uK9Pw5KEc64SSw8d7uqvQU0vEoYQJcQC8uUlGuVgUMg7VCTmk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773063461; c=relaxed/simple; bh=v4/YRTDLq9d++5ynP6tFmssZscnk06ot2ItPSXbELjQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ic+TeoeNtiajEY4CmbxDHC514uRX766ZkNmjwlG/5nZLNvJZQ4ysanZ08uW3tV+twHWws68ICLxCPIA+6DTY6w4TjXSxmNUg5V9/f7D1W+NDVDfAJq1O/Al8kPAfJTWpklQvvN6TACGfCJ6W3qU3lsqIlWYLs/2rbTSRNpor2M4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me; spf=pass smtp.mailfrom=proton.me; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b=DLYQabqx; arc=none smtp.client-ip=185.70.43.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proton.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b="DLYQabqx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1773063456; x=1773322656; bh=v4/YRTDLq9d++5ynP6tFmssZscnk06ot2ItPSXbELjQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=DLYQabqxfV+tu6j94+KYMxT4aNIqjvRj+h5CxSyq9Qv2gLqYJbwEh+14xR08ZYnU2 41viEPpteOSjuyYZJdZvZyiJXzPcJYv49ZJ8d7UlcnonC2bWEmTMBiRkCkOsCS8YyZ dTFZ9Z7+nAFqNG2zlhi+uAxgzS2I6G8qrhGqk0UvYwGgpKeLW4+9yn6KFAkxR0uyVE 6zczqX8ntusO3h4hOnrACVmxkvDG8yp8u58sWFUQQepCcRHThML/j+qVidm8Kj2el0 IKaq+RBfXDs21PXRuClW7WT9GH5V++TFd96+M1rBEcMZPsqTOUxsTXwCoEsiBEXM7s pMGOQTFVIwwPg== Date: Mon, 09 Mar 2026 13:37:34 +0000 To: Gustavo Arantes From: Bryant Boatright Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8723bs: replace msleep with usleep_range in rtw_dev_unload Message-ID: In-Reply-To: <20260308215619.608685-1-dev.gustavoa@gmail.com> References: <20260308215619.608685-1-dev.gustavoa@gmail.com> Feedback-ID: 74848953:user:proton X-Pm-Message-ID: 5b0a96ae2009715ec2d1eeb1082fda290511cb2b Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, Mar 08, 2026 at 06:56:19PM -0300, Gustavo Arantes wrote: > Replace msleep(10) with usleep_range(10000, 20000) in the command thread > shutdown loop in rtw_dev_unload(), since msleep() for values less than > 20ms may not in fact sleep for the intended duration and will often > sleep for up to 20ms, as documented in > Documentation/timers/timers-howto.rst. >=20 This has been addressed in a thread recently and Gred said to drop the patc= h [1]. Best, Bryant Boatright [1] https://lore.kernel.org/linux-staging/20260214173139.49094-1-ofekalm100= @gmail.com/