[Bug 254177] When ZFS is recognized, An i386 machine with a lot of memory hangs.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Feb 2022 12:32:21 UTC

--- Comment #5 from Andriy Gapon <avg@FreeBSD.org> ---
(In reply to HONDA Kazuhito from comment #0)
Just want to add a detail to the explanation of the problem.
0x9B9AD000 result is actually a signed int, so in decimal it is -1684353024.
When that value is compared with hsize * zfs_arc_average_blocksize, the value
gets converted to uint64_t because that's the type of the expression on the
left side.  So, it becomes 0xffffffff9b9ad000.
So, the comparison can never be true as the maximum value of hsize *
zfs_arc_average_blocksize is 0x8000000000000000 and then it wraps around to

You are receiving this mail because:
You are the assignee for the bug.