On Sun, Dec 04, 2011 at 04:24:13PM +0000, Chuck Silvers wrote: > Module Name: src > Committed By: chs > Date: Sun Dec 4 16:24:13 UTC 2011 > > Modified Files: > src/sys/arch/amd64/amd64: locore.S machdep.c > src/sys/arch/amd64/include: types.h > src/sys/arch/x86/include: pmap.h > src/sys/arch/x86/x86: pmap.c > > Log Message: > map all of physical memory using large pages. > ported from openbsd years ago by Murray Armfield, > updated for changes since then by me.
One thing I don't like about this change is that it assumes that physical memory is densely mapped. I don't think that's a valid assumption especially for AMD systems. Joerg