dillon 7a2987cf94 Fix null-pointer dereference crash when the system is intentionally
run out of KVM through a mmap()/fork() bomb that allocates hundreds
    of thousands of vm_map_entry structures.

    Add panic to make null-pointer dereference crash a little more verbose.

    Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number
    of mmap()'d spaces (discrete vm_map_entry's in the process).  The value
    defaults to around 9000 for a 128MB machine.  The test is scaled for the
    number of processes sharing a vmspace (aka linux threads).  Setting
    the value to 0 disables the feature.

PR: kern/16573
Approved by: jkh
2000-02-16 21:11:33 +00:00
..
2000-02-16 18:41:00 +00:00
2000-01-27 14:43:07 +00:00
2000-01-29 18:42:45 +00:00
1999-12-14 20:54:38 +00:00
2000-02-15 17:29:09 +00:00
2000-02-16 04:04:36 +00:00
2000-01-15 05:15:06 +00:00
1999-08-27 23:45:13 +00:00
1999-11-14 13:54:44 +00:00