Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote: > > Or perhaps the sort code is not handling the 8Gb memory ranges > > reported > > by the MMU. Which will exceed 32 bits. > > (Forgive me if this last sounds like criticism. I have not actually > > studied the code yet. And am just speculating.) > I wouldn't think this has anything to do with the size of supported > or > installed RAM. If the mainboard chipset (or whatever is responsible) > presents the installed memory as more than 4 disjoint physical > address > ranges, that would be an explanation, though. Since we actually combine adjacent ranges, it will overflow if you have more than 4 GB in one range; so in order to support this, we might want to change the type to uint64 even in 32 bit systems - or just ignore anything beyond the 4 GB barrier. Bye, Axel.