subr_blist.c (76827) | subr_blist.c (79224) |
---|---|
1 2/* 3 * BLIST.C - Bitmap allocator/deallocator, using a radix tree with hinting 4 * 5 * (c)Copyright 1998, Matthew Dillon. Terms for use and redistribution 6 * are covered by the BSD Copyright as found in /usr/src/COPYRIGHT. 7 * 8 * This module implements a general bitmap allocator/deallocator. The --- 46 unchanged lines hidden (view full) --- 55 * large' if you try. This is an area that could use improvement. The 56 * radix is large enough that this restriction does not effect the swap 57 * system, though. Currently only the allocation code is effected by 58 * this algorithmic unfeature. The freeing code can handle arbitrary 59 * ranges. 60 * 61 * This code can be compiled stand-alone for debugging. 62 * | 1 2/* 3 * BLIST.C - Bitmap allocator/deallocator, using a radix tree with hinting 4 * 5 * (c)Copyright 1998, Matthew Dillon. Terms for use and redistribution 6 * are covered by the BSD Copyright as found in /usr/src/COPYRIGHT. 7 * 8 * This module implements a general bitmap allocator/deallocator. The --- 46 unchanged lines hidden (view full) --- 55 * large' if you try. This is an area that could use improvement. The 56 * radix is large enough that this restriction does not effect the swap 57 * system, though. Currently only the allocation code is effected by 58 * this algorithmic unfeature. The freeing code can handle arbitrary 59 * ranges. 60 * 61 * This code can be compiled stand-alone for debugging. 62 * |
63 * $FreeBSD: head/sys/kern/subr_blist.c 76827 2001-05-19 01:28:09Z alfred $ | 63 * $FreeBSD: head/sys/kern/subr_blist.c 79224 2001-07-04 16:20:28Z dillon $ |
64 */ 65 66#ifdef _KERNEL 67 68#include <sys/param.h> 69#include <sys/systm.h> 70#include <sys/lock.h> 71#include <sys/kernel.h> 72#include <sys/blist.h> 73#include <sys/malloc.h> | 64 */ 65 66#ifdef _KERNEL 67 68#include <sys/param.h> 69#include <sys/systm.h> 70#include <sys/lock.h> 71#include <sys/kernel.h> 72#include <sys/blist.h> 73#include <sys/malloc.h> |
74#include <sys/proc.h> |
|
74#include <sys/mutex.h> 75#include <vm/vm.h> 76#include <vm/vm_object.h> 77#include <vm/vm_kern.h> 78#include <vm/vm_extern.h> 79#include <vm/vm_page.h> 80 81#else --- 845 unchanged lines hidden --- | 75#include <sys/mutex.h> 76#include <vm/vm.h> 77#include <vm/vm_object.h> 78#include <vm/vm_kern.h> 79#include <vm/vm_extern.h> 80#include <vm/vm_page.h> 81 82#else --- 845 unchanged lines hidden --- |