#
5c6e573f |
| 15-Nov-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add pbgetbo()/pbrelbo() lighter weight versions of pbgetvp()/pbrelvp().
|
#
287013d2 |
| 15-Nov-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
More kasserts.
|
#
d7fe1f51 |
| 15-Nov-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
style polishing.
|
#
a752aa8f |
| 15-Nov-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Move pbgetvp() and pbrelvp() to vm_pager.c with the rest of the pbuf stuff.
|
#
e8a7bef3 |
| 15-Nov-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
expect the caller to have called pbrelvp() if necessary.
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
6e67e2a7 |
| 04-Nov-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Retire b_magic now, we have the bufobj containing the same hint.
|
#
b792bebe |
| 24-Oct-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Move the buffer method vector (buf->b_op) to the bufobj.
Extend it with a strategy method.
Add bufstrategy() which do the usual VOP_SPECSTRATEGY/VOP_STRATEGY song and dance.
Rename ibwrite to bufw
Move the buffer method vector (buf->b_op) to the bufobj.
Extend it with a strategy method.
Add bufstrategy() which do the usual VOP_SPECSTRATEGY/VOP_STRATEGY song and dance.
Rename ibwrite to bufwrite().
Move the two NFS buf_ops to more sensible places, add bufstrategy to them.
Add inlines for bwrite() and bstrategy() which calls through buf->b_bufobj->b_ops->b_{write,strategy}().
Replace almost all VOP_STRATEGY()/VOP_SPECSTRATEGY() calls with bstrategy().
show more ...
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
41f1b2c4 |
| 08-Apr-2004 |
Alan Cox <alc@FreeBSD.org> |
The demise of vm_pager_map_page() in revision 1.93 of vm/vm_pager.c permits the reduction of the pager map's size by 8M bytes. In other words, eight megabytes of largely wasted KVA are returned to t
The demise of vm_pager_map_page() in revision 1.93 of vm/vm_pager.c permits the reduction of the pager map's size by 8M bytes. In other words, eight megabytes of largely wasted KVA are returned to the kernel map for use elsewhere.
show more ...
|
#
05eb3785 |
| 06-Apr-2004 |
Warner Losh <imp@FreeBSD.org> |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999.
Approved by: core
|
#
9e0ddbd0 |
| 06-Apr-2004 |
Alan Cox <alc@FreeBSD.org> |
Eliminate vm_pager_map_page() and vm_pager_unmap_page() and their uses. Use sf_buf_alloc() and sf_buf_free() instead.
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
3ad8097f |
| 20-Oct-2003 |
Alan Cox <alc@FreeBSD.org> |
- Remove comments referring to functions that no longer exist.
|
#
4e658600 |
| 05-Aug-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Use sparse struct initializations for struct pagerops.
This makes grepping for which pagers implement which methods easier.
|
#
98137162 |
| 04-Aug-2003 |
Alan Cox <alc@FreeBSD.org> |
Use kmem_alloc_nofault() instead of kmem_alloc_pageable() to allocate swapbkva. Swapbkva mappings are explicitly managed using pmap_qenter(), not on-demand by vm_fault(), making kmem_alloc_nofault()
Use kmem_alloc_nofault() instead of kmem_alloc_pageable() to allocate swapbkva. Swapbkva mappings are explicitly managed using pmap_qenter(), not on-demand by vm_fault(), making kmem_alloc_nofault() more appropriate.
Submitted by: tegge
show more ...
|
#
745f3305 |
| 03-Aug-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Move extern declaration of the various pagerops from vm_pager.c to vm_pager.h where the various pagers will also see them.
|
#
adece6e5 |
| 20-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Initialize b_saveaddr when we hand out pbufs
|
#
874651b1 |
| 12-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
658ad5ff |
| 06-May-2003 |
Alan Cox <alc@FreeBSD.org> |
Lock the vm_object when performing vm_pager_deallocate().
|
#
2ac8b160 |
| 05-Apr-2003 |
Alan Cox <alc@FreeBSD.org> |
Remove GIANT_REQUIRED from getpbuf(). Reviewed by: tegge
Reduce pbuf_mtx's scope in relpbuf(). Submitted by: tegge
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
17661e5a |
| 25-Feb-2003 |
Jeff Roberson <jeff@FreeBSD.org> |
- Add an interlock argument to BUF_LOCK and BUF_TIMELOCK. - Remove the buftimelock mutex and acquire the buf's interlock to protect these fields instead. - Hold the vnode interlock while locking
- Add an interlock argument to BUF_LOCK and BUF_TIMELOCK. - Remove the buftimelock mutex and acquire the buf's interlock to protect these fields instead. - Hold the vnode interlock while locking bufs on the clean/dirty queues. This reduces some cases from one BUF_LOCK with a LK_NOWAIT and another BUF_LOCK with a LK_TIMEFAIL to a single lock.
Reviewed by: arch, mckusick
show more ...
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
c2eda4b5 |
| 01-Jul-2002 |
Alan Cox <alc@FreeBSD.org> |
o Remove some long dead code: from revision 1.41 of vm/vm_pager.c 3+ years ago. o Remove some unused prototypes.
|
#
79421945 |
| 21-Jun-2002 |
Alan Cox <alc@FreeBSD.org> |
o Remove GIANT_REQUIRED from vm_pager_allocate() and vm_pager_deallocate().
|
#
6008862b |
| 04-Apr-2002 |
John Baldwin <jhb@FreeBSD.org> |
Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zon
Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used.
Tested on: i386, alpha, sparc64
show more ...
|
#
11caded3 |
| 19-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove __P.
|
#
ac59490b |
| 17-Mar-2002 |
Jake Burkholder <jake@FreeBSD.org> |
Convert all pmap_kenter/pmap_kremove pairs in MI code to use pmap_qenter/ pmap_qremove. pmap_kenter is not safe to use in MI code because it is not guaranteed to flush the mapping from the tlb on al
Convert all pmap_kenter/pmap_kremove pairs in MI code to use pmap_qenter/ pmap_qremove. pmap_kenter is not safe to use in MI code because it is not guaranteed to flush the mapping from the tlb on all cpus. If the process in question is preempted and migrates cpus between the call to pmap_kenter and pmap_kremove, the original cpu will be left with stale mappings in its tlb. This is currently not a problem for i386 because we do not use PG_G on SMP, and thus all mappings are flushed from the tlb on context switches, not just user mappings. This is not the case on all architectures, and if PG_G is to be used with SMP on i386 it will be a problem. This was committed by peter earlier as part of his fine grained tlb shootdown work for i386, which was backed out for other reasons.
Reviewed by: peter
show more ...
|
#
a1287949 |
| 10-Mar-2002 |
Eivind Eklund <eivind@FreeBSD.org> |
- Remove a number of extra newlines that do not belong here according to style(9) - Minor space adjustment in cases where we have "( ", " )", if(), return(), while(), for(), etc. - Add /* SYMBOL
- Remove a number of extra newlines that do not belong here according to style(9) - Minor space adjustment in cases where we have "( ", " )", if(), return(), while(), for(), etc. - Add /* SYMBOL */ after a few #endifs.
Reviewed by: alc
show more ...
|