NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/57657: NetBSD crashes if the number of CPUs is not of the form N*[1..8]
The following reply was made to PR kern/57657; it has been noted by GNATS.
From: Harold Gutch <logix%foobar.franken.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/57657: NetBSD crashes if the number of CPUs is not of the form N*[1..8]
Date: Sun, 15 Oct 2023 12:29:48 +0200
Hi,
thanks, from what I can see your patch does "effectively the same",
just with slightly other rounding/bucket distribution if repeated
dividing by 2 requires rounding before getting to a number in [1, 8]
(i.e., the right condition is not N*[1..8], but 2^N*[1..8]).
For a "bad" number of CPUs it now behaves better for me. I didn't
test all numbers, but for the few that I tried I successfully booted.
So: looks good, thanks!
Harold
Home |
Main Index |
Thread Index |
Old Index