freebsd-dev/sys/vm
phk 447bf5968f 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
default_pager.h
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_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
vm_init.c
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
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
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
vm_prot.h
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
vm_zone.h
vm.h
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