1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/sys/vm
Poul-Henning Kamp 494eb176e7 Add b_bufobj to struct buf which eventually will eliminate the need for b_vp.
Initialize b_bufobj for all buffers.

Make incore() and gbincore() take a bufobj instead of a vnode.

Make inmem() local to vfs_bio.c

Change a lot of VI_[UN]LOCK(bp->b_vp) to BO_[UN]LOCK(bp->b_bufobj)
also VI_MTX() to BO_MTX(),

Make buf_vlist_add() take a bufobj instead of a vnode.

Eliminate other uses of bp->b_vp where bp->b_bufobj will do.

Various minor polishing: remove "register", turn panic into KASSERT,
use new function declarations, TAILQ_FOREACH_SAFE() etc.
2004-10-22 08:47:20 +00:00
..
default_pager.c
device_pager.c Use dev_re[fl]thread() to maintain a ref on the device driver while 2004-09-24 05:59:11 +00:00
phys_pager.c
pmap.h
swap_pager.c Add b_bufobj to struct buf which eventually will eliminate the need for b_vp. 2004-10-22 08:47:20 +00:00
swap_pager.h
uma_core.c In the previous revision, I did not intend to change the default value 2004-10-09 18:51:32 +00:00
uma_dbg.c Fix critical stability problems that can cause UMA mbuf cluster 2004-10-08 20:19:29 +00:00
uma_dbg.h * Add a "how" argument to uma_zone constructors and initialization functions 2004-08-02 00:18:36 +00:00
uma_int.h Rework the way slab header storage space is calculated in UMA. 2004-07-29 15:25:40 +00:00
uma.h * Add a "how" argument to uma_zone constructors and initialization functions 2004-08-02 00:18:36 +00:00
vm_contig.c Turn on the new contigmalloc(9) by default. There should not actually 2004-08-05 21:54:11 +00:00
vm_extern.h For years, kmem_alloc_pageable() has been misused. Now that the last of 2004-07-25 20:08:59 +00:00
vm_fault.c Remove unnecessary check for curthread == NULL. 2004-10-17 20:29:28 +00:00
vm_glue.c The zone from which proc structures are allocated is marked 2004-09-19 18:34:17 +00:00
vm_init.c Remove dead code. A vm_map's first_free is never NULL (even if the map is 2004-08-07 05:58:31 +00:00
vm_kern.c Back out all behavioral chnages. 2004-08-10 14:42:48 +00:00
vm_kern.h
vm_map.c Push Giant deep into vm_forkproc(), acquiring it only if the process has 2004-09-03 05:11:32 +00:00
vm_map.h Replace the linear search in vm_map_findspace() with an O(log n) 2004-08-13 08:06:34 +00:00
vm_meter.c Put on my peril sensitive sunglasses and add a flags field to the internal 2004-10-11 22:04:16 +00:00
vm_mmap.c XXX mark two places where we do not hold a threadcount on the dev when 2004-09-24 08:32:36 +00:00
vm_object.c Move the acquisition and release of the lock on the object at the head of 2004-08-29 20:14:10 +00:00
vm_object.h
vm_page.c Correct two errors in PG_BUSY management by vm_page_cowfault(). Both 2004-10-18 08:11:59 +00:00
vm_page.h Move the cow field between wire_count and hold_count. This is the 2004-08-22 20:52:23 +00:00
vm_pageout.c
vm_pageout.h
vm_pageq.c
vm_pager.c
vm_pager.h
vm_param.h
vm_unix.c
vm_zeroidle.c Turn PREEMPTION into a kernel option. Make sure that it's defined if 2004-09-02 18:59:15 +00:00
vm.h - Introduce and use a new tunable "debug.mpsafevm". At present, setting 2004-08-16 06:16:12 +00:00
vnode_pager.c add KASSERTS 2004-09-07 07:32:40 +00:00
vnode_pager.h