cvs commit: src/sys/machine/vkernel/platform init.c pmap.c
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Fri Jan 12 10:04:33 PST 2007
    
    
  
dillon      2007/01/12 10:03:48 PST
DragonFly src repository
  Modified files:
    sys/machine/vkernel/platform init.c pmap.c 
  Log:
  Set kernel_vm_end to virtual_start instead of virtual_end so it can be used
  to detemine how much KVM has been reserved so far (so vm.kvm_free works).
  
  As part of the same deal, redo pmap_growkernel() to just increase
  kernel_vm_end up to its limit, instead of just panicing.
  
  Remove in incorrect NULLing out of pmap->pm_pdir.  This was causing the
  kernel_map to grow forever until it ran out of space and the system paniced.
  
  Revision  Changes    Path
  1.22      +5 -4      src/sys/machine/vkernel/platform/init.c
  1.12      +10 -3     src/sys/machine/vkernel/platform/pmap.c
http://www.dragonflybsd.org/cvsweb/src/sys/machine/vkernel/platform/init.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/machine/vkernel/platform/pmap.c.diff?r1=1.11&r2=1.12&f=u
    
    
More information about the Commits
mailing list