Add the NO_KMEM_MAP kernel configuration option. This is a temporary option
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 25 Aug 2003 19:50:33 +0000 (19:50 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 25 Aug 2003 19:50:33 +0000 (19:50 +0000)
commit03aa8d994fbc65d3dc3d59eb998e82c8714d8a71
tree8ba3e74894743cce96cd3cbb386645065ca132ee
parentf23be94cb4ac74c278f41bb91c7d9e4f5368c96a
Add the NO_KMEM_MAP kernel configuration option.  This is a temporary option
that will allow developers to test kmem_map removal and also the upcoming
(not this commit) slab allocator.  Currently this option removes kmem_map
and causes the malloc and zalloc subsystems to use kernel_map exclusively.

Change gd_intr_nesting_level.  This variable is now only bumped while we
are in a FAST interrupt or processing an IPIQ message.  This variable is
not bumped while we are in a normal interrupt or software interrupt thread.

Add warning printf()s if malloc() and related functions detect attempts to
use them from within a FAST interrupt or IPIQ.

Remove references to the no-longer-used zalloci() and zfreei() functions.
37 files changed:
sys/conf/options
sys/contrib/ipfilter/netinet/ip_compat.h
sys/cpu/i386/include/cpu.h
sys/i386/apic/apic_vector.s
sys/i386/i386/exception.s
sys/i386/i386/machdep.c
sys/i386/i386/trap.c
sys/i386/i386/vm86bios.s
sys/i386/icu/icu_vector.s
sys/i386/include/cpu.h
sys/i386/include/vmparam.h
sys/i386/isa/apic_vector.s
sys/i386/isa/icu_vector.s
sys/i386/isa/ipl.s
sys/kern/kern_intr.c
sys/kern/kern_lock.c
sys/kern/kern_malloc.c
sys/kern/lwkt_thread.c
sys/kern/uipc_mbuf.c
sys/platform/pc32/apic/apic_vector.s
sys/platform/pc32/i386/exception.s
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/trap.c
sys/platform/pc32/i386/vm86bios.s
sys/platform/pc32/icu/icu_vector.s
sys/platform/pc32/include/vmparam.h
sys/platform/pc32/isa/apic_vector.s
sys/platform/pc32/isa/icu_vector.s
sys/platform/pc32/isa/ipl.s
sys/sys/malloc.h
sys/sys/thread.h
sys/vm/vm_kern.c
sys/vm/vm_kern.h
sys/vm/vm_map.c
sys/vm/vm_mmap.c
sys/vm/vm_object.c
sys/vm/vm_zone.c