Subject: Uninitalized kernel variable uvm_maxkaddr
To: None <>
From: Amatus <>
List: tech-kern
Date: 05/31/2005 06:57:57
Hi all, uvm_maxkaddr is never initalized before it's used. It's first
use is in uvm_pageboot_alloc() (at least on i386) where it's compared
        if (uvm_maxkaddr < (addr + size)) {
                uvm_maxkaddr = pmap_growkernel(addr + size);
                if (uvm_maxkaddr < (addr + size))
                        panic("uvm_pageboot_alloc: pmap_growkernel()

It doesn't cause a problem because it seems to always be 0 on boot and
is then set to a more reasonable value (something like 0xc100000000).
It seems to me it should be initalized in pmap_bootstrap(). Can someone
tell me why this isn't the case?

Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: