A smaller fix might be as simple as picking a better address for static space.
We just need somewhere, anywhere below 2GB, that we can we assured that allocating about 64Kb will work.
Is that simply not possible on FreeBSD? For comparison's sake, in x86-64 Linux the OS generally gives "random" mappings a very high address, so there are actually lots of sub-2GB addresses to choose from.
A smaller fix might be as simple as picking a better address for static space.
We just need somewhere, anywhere below 2GB, that we can we assured that allocating about 64Kb will work.
Is that simply not possible on FreeBSD? For comparison's sake, in x86-64 Linux the OS generally gives "random" mappings a very high address, so there are actually lots of sub-2GB addresses to choose from.