freebsd-nq/sys/vm
Poul-Henning Kamp 2447bec829 Simplify cdevsw registration.
The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it.  cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.

cdevsw_add() will print an message if the d_maj field looks bogus.

Remove nblkdev and nchrdev variables.  Most places they were used
bogusly.  Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.

Move bdevsw() and devsw() functions to kern/kern_conf.c

Bump __FreeBSD_version to 400006

This commit removes:
        72 bogus makedev() calls
        26 bogus SYSINIT functions

if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.

I4b and vinum not changed.  Patches emailed to authors.  LINT
probably broken until they catch up.
1999-05-31 11:29:30 +00:00
..
default_pager.c vm_pager_put_pages() is passed an rcval array to hold per-page return 1999-01-24 02:32:15 +00:00
default_pager.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
device_pager.c Casting handles from void * to uintptr_t on the way to dev_t became 1999-05-13 12:55:37 +00:00
pmap.h Make pmap_collect() an official pmap interface. 1999-04-23 20:29:58 +00:00
swap_pager.c remove b_proc from struct buf, it's (now) unused. 1999-05-06 20:00:34 +00:00
swap_pager.h vm_pager_put_pages() is passed an rcval array to hold per-page return 1999-01-24 02:32:15 +00:00
vm_extern.h Move the declaration of faultin() from the vm headers to proc.h, since 1999-04-13 19:17:15 +00:00
vm_fault.c The VFS/BIO subsystem contained a number of hacks in order to optimize 1999-05-02 23:57:16 +00:00
vm_glue.c Only use p->p_lock (manage by PHOLD()/PRELE()) - P_NOSWAP/P_PHYSIO is no 1999-04-06 03:11:34 +00:00
vm_inherit.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vm_init.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
vm_kern.c Correct a problem in kmem_malloc: A kmem_malloc allowing "wait" may 1999-03-16 07:39:07 +00:00
vm_kern.h Attempt to fix the previous fix to the contigmalloc1 prototype. 1997-10-11 10:39:19 +00:00
vm_map.c Avoid the creation of unnecessary shadow objects. 1999-05-28 03:39:44 +00:00
vm_map.h Add the options MAP_PREFAULT and MAP_PREFAULT_PARTIAL to vm_map_find/insert, 1999-05-17 00:53:56 +00:00
vm_meter.c Add sysctl descriptions to many SYSCTL_XXXs 1999-05-03 23:57:32 +00:00
vm_mmap.c Add the options MAP_PREFAULT and MAP_PREFAULT_PARTIAL to vm_map_find/insert, 1999-05-17 00:53:56 +00:00
vm_object.c Addendum to 1.155. Verify the existence of the object before checking 1999-05-30 01:12:19 +00:00
vm_object.h Revamp vm_object_[q]collapse(). Despite the complexity of this patch, 1999-02-08 19:00:15 +00:00
vm_page.c The VFS/BIO subsystem contained a number of hacks in order to optimize 1999-05-02 23:57:16 +00:00
vm_page.h The VFS/BIO subsystem contained a number of hacks in order to optimize 1999-05-02 23:57:16 +00:00
vm_pageout.c Make pmap_collect() an official pmap interface. 1999-04-23 20:29:58 +00:00
vm_pageout.h This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
vm_pager.c remove b_proc from struct buf, it's (now) unused. 1999-05-06 20:00:34 +00:00
vm_pager.h The VFS/BIO subsystem contained a number of hacks in order to optimize 1999-05-02 23:57:16 +00:00
vm_param.h There is a comment in vm_param.h which doesn't belong to the 1998-07-22 06:21:55 +00:00
vm_prot.h Fix the gdb executable modify problem. Thanks to the detective work 1997-04-06 02:29:45 +00:00
vm_swap.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
vm_unix.c Removed ENOMEM error on swap_pager_full condition which ignored the 1999-02-22 08:42:16 +00:00
vm_zone.c KNFize, by bde. 1999-01-10 01:58:29 +00:00
vm_zone.h KNFize, by bde. 1999-01-10 01:58:29 +00:00
vm.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vnode_pager.c Fix confusion of size of transfer with size of the pager. 1999-05-15 23:42:39 +00:00
vnode_pager.h Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00