Mark Kettenis <[email protected]> wrote: > To me, it really feels like the issue is a kernel layout thing. Some > kernels consistently work, some consistently don't. Even if the only > difference is a relink.
random relinking does one surprising thing which has never bit us, but I've always wondered when it would. the sub-sections of each .o end up with alignment requirements based upon the .o file randomly placed before them. If an alignment requirement is not correctly defined, there could be problems But this hasn't happened yet. We've had problems on riscv64 which we thought were related to random relinking, That is at boot, though. Not sure anymore, the failure mode is extremely rare. I think unhibernate relies upon the page-table mapping of the unhib kernel. After all, it is the same image.
