freebsd-dev/sys/vm
John Baldwin 44731cab3b Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API.  The entire API now consists of two functions
similar to the pre-KSE API.  The suser() function takes a thread pointer
as its only argument.  The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0.  The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.

Discussed on:	smp@
2002-04-01 21:31:13 +00:00
..
default_pager.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
device_pager.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
phys_pager.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
pmap.h Remove __P. 2002-03-19 22:20:14 +00:00
swap_pager.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
swap_pager.h Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
uma_core.c Reset the cachefree statistics after draining the cache. This fixes a bug 2002-03-24 10:56:11 +00:00
uma_int.h Add a new mtx_init option "MTX_DUPOK" which allows duplicate acquires of locks 2002-03-27 09:23:41 +00:00
uma.h Add uma_zone_set_max() to add enforced limits to non vm obj backed zones. 2002-03-20 05:28:34 +00:00
vm_contig.c Call vm_pageq_remove_nowakeup() rather than duplicating it. 2002-03-03 22:36:14 +00:00
vm_extern.h Remove an unused prototype. 2002-03-26 05:30:59 +00:00
vm_fault.c Remove __P. 2002-03-19 22:20:14 +00:00
vm_glue.c Remove __P. 2002-03-19 22:20:14 +00:00
vm_init.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
vm_kern.c - Remove a number of extra newlines that do not belong here according to 2002-03-10 21:52:48 +00:00
vm_kern.h Introduce numerous SMP friendly changes to the mbuf allocator. Namely, 2001-06-22 06:35:32 +00:00
vm_map.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
vm_map.h This is the first part of the new kernel memory allocator. This replaces 2002-03-19 09:11:49 +00:00
vm_meter.c In a threaded world, differnt priorirites become properties of 2002-02-11 20:37:54 +00:00
vm_mmap.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
vm_object.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
vm_object.h Implement kern.maxvnodes. adjusting kern.maxvnodes now actually has a 2001-10-26 00:08:05 +00:00
vm_page.c This is the first part of the new kernel memory allocator. This replaces 2002-03-19 09:11:49 +00:00
vm_page.h - Remove a number of extra newlines that do not belong here according to 2002-03-10 21:52:48 +00:00
vm_pageout.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 04:02:59 +00:00
vm_pageout.h Remove __P. 2002-03-19 22:20:14 +00:00
vm_pageq.c - Remove a number of extra newlines that do not belong here according to 2002-03-10 21:52:48 +00:00
vm_pager.c Remove __P. 2002-03-19 22:20:14 +00:00
vm_pager.h Remove __P. 2002-03-19 22:20:14 +00:00
vm_param.h Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader 2001-10-10 23:06:54 +00:00
vm_swap.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
vm_unix.c Garbage-collect options ACPI_NO_ENABLE_ON_BOOT, AML_DEBUG, BLEED, 2002-02-15 13:16:11 +00:00
vm_zeroidle.c In a threaded world, differnt priorirites become properties of 2002-02-11 20:37:54 +00:00
vm_zone.c Back out the modification of vm_map locks from lockmgr to sx locks. The 2002-03-18 15:08:09 +00:00
vm_zone.h This is the first part of the new kernel memory allocator. This replaces 2002-03-19 09:11:49 +00:00
vm.h - Remove a number of extra newlines that do not belong here according to 2002-03-10 21:52:48 +00:00
vnode_pager.c Remove __P. 2002-03-19 22:20:14 +00:00
vnode_pager.h Remove __P. 2002-03-19 22:20:14 +00:00