kernel - extend cpus past 64 - fixes
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 6 Jul 2014 19:19:18 +0000 (12:19 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 6 Jul 2014 19:19:18 +0000 (12:19 -0700)
commit586f3381714f121268b0a97c375c8a975eee8175
tree1d4c6c1501fca7d4b101ef886a80e70b647a3e68
parent29bce202ccc66ba3f3092931c805e40c2678d7db
kernel - extend cpus past 64 - fixes

* qemu testing.  Kernel can get stuck due to there not being enough
  pre-allocated vm_map_entry structures.  Increase MAX_MAPENT for booting
  from 2048 to (SMP_MAXCPU * 32 + 1024), which should hopefully be enough.

* During early booting, the ZONE_SPECIAL flag is not yet set in
  mapentzone_store.zflags.  Add code to set the flag early.
sys/vm/vm_map.c
sys/vm/vm_map.h