Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Recent bugfixes.



On Sun 26 Mar 2023 at 16:28:52 +0200, Anders Magnusson wrote:
> Please look at the patch:

[ correctly limits the total size ]

> After everything is calculated I check if kvmsize gets larger than 1G, and
> in that case truncates it to 1G.
> I haven't changed the calculations.

But that's my point. For smaller memory sizes, it likely calculates a
bigger page table size than needed (by counting things double) (and thus
wastes memory on the page table).

That is of course a different bug, but now that we're looking at
this area of code we might well think about how it should be.

> -- Ragge
-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index