svn commit: r233290 - head/sys/amd64/amd64
pluknet at freebsd.org
Thu Mar 22 08:12:12 UTC 2012
On 22 March 2012 08:40, Alan Cox <alc at freebsd.org> wrote:
> Author: alc
> Date: Thu Mar 22 04:40:22 2012
> New Revision: 233290
> URL: http://svn.freebsd.org/changeset/base/233290
> Change pv_entry_count to a long. During the lifetime of FreeBSD 10.x,
> physical memory sizes at the high-end will likely reach a point that
> the number of pv entries could overflow an int.
> Submitted by: kib
While there, maybe also do something with these semi-debug-ish
vm.pmap.pc_chunk_(allocs|frees) like change them to [u_]long too, move
under debug or just drop them? While they can be useful for someone,
pc_chunk_(allocs|frees) have also an "int" and quite quickly overflow.
Though e.g. vm.pmap.pv_entry_(allocs|frees) have a long.
More information about the svn-src-all