Matthew Dillon 1f6889a1eb 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
..
1999-08-28 00:22:10 +00:00
2000-01-18 18:23:28 +00:00
1999-10-03 10:41:40 +00:00
2000-01-26 12:50:46 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
2000-02-14 01:35:15 +00:00
1999-11-14 13:54:44 +00:00
2000-01-01 14:21:31 +00:00
2000-01-30 00:44:23 +00:00
1999-08-28 00:22:10 +00:00
1999-09-29 15:18:46 +00:00
2000-01-18 07:43:12 +00:00
1999-08-28 00:22:10 +00:00
2000-02-14 03:55:27 +00:00
2000-02-12 20:27:50 +00:00
1999-08-28 00:22:10 +00:00
1999-11-09 00:18:22 +00:00