NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57718: mstohz rounds down, not up, which leads to surprising bugs when it rounds to zero



The following reply was made to PR kern/57718; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 campbell+netbsd%mumble.net@localhost
Subject: Re: kern/57718: mstohz rounds down, not up, which leads to surprising
 bugs when it rounds to zero
Date: Wed, 22 Nov 2023 08:55:33 -0800

 > On Nov 22, 2023, at 12:05 AM, Michael van Elst <mlelstv%serpens.de@localhost> =
 wrote:
 >=20
 > While there are places that work around the issue, there are others
 > that do not. Auditing the code and cleaning up needs to happen with
 > or without a change to mstohz().
 
 If we=E2=80=99re going to go though all of this, we we please transition =
 away from the tick-oriented interfaces and move to a deadline model?  It =
 would remove all of the ambiguity from the call sites.
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index