freebsd-skq/sys/vm
Jeff Roberson a553d4b8eb Rework most of the bucket allocation and free code so that per cpu locks are
never held across blocking operations.  Also, fix two other lock order
reversals that were exposed by jhb's witness change.

The free path previously had a bug that would cause it to skip the free bucket
list in some cases and go straight to allocating a new bucket.  This has been
fixed as well.

These changes made the bucket handling code much cleaner and removed quite a
few lock operations.  This should be marginally faster now.

It is now possible to call malloc w/o Giant and avoid any witness warnings.
This still isn't entirely safe though because malloc_type statistics are not
protected by any lock.
2002-04-08 02:42:55 +00:00
..
default_pager.c
device_pager.c Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
phys_pager.c Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
pmap.h
swap_pager.c Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
swap_pager.h
uma_core.c Rework most of the bucket allocation and free code so that per cpu locks are 2002-04-08 02:42:55 +00:00
uma_int.h Rework most of the bucket allocation and free code so that per cpu locks are 2002-04-08 02:42:55 +00:00
uma.h Spelling correction; s/seperate/separate/g 2002-04-07 22:56:48 +00:00
vm_contig.c
vm_extern.h o Eliminate the use of grow_stack() and useracc() from sendsig(), osendsig(), 2002-04-05 00:52:15 +00:00
vm_fault.c
vm_glue.c
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c
vm_map.h
vm_meter.c Embed a struct vmmeter in the per-cpu structure and add a macro, 2002-04-04 21:38:47 +00:00
vm_mmap.c
vm_object.c Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
vm_object.h
vm_page.c Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
vm_page.h
vm_pageout.c
vm_pageout.h
vm_pageq.c Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
vm_pager.c Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
vm_pager.h
vm_param.h
vm_swap.c
vm_unix.c
vm_zeroidle.c
vm.h
vnode_pager.c
vnode_pager.h