Le 01/07/2016 à 16:24, matthew green a écrit :
Log Message: Surprisingly enough, the kernel expects the CPU to support large pages when creating the direct map on amd64. Therefore, the amd64 CPUs that do not support large pages basically don't work on NetBSD. It looks like it has always been this way; add a KASSERT to panic properly in case we come across one of these CPUs.this seems kind of useless. it's part of the definition of amd64.
Yes, I found it in AMD64 Vol.2 p.169 right after committing this change. It still remains useful, since it makes sure we first went through the largepages initialization stuff.