diff options
author | dfr <dfr@FreeBSD.org> | 1998-09-04 08:06:57 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-09-04 08:06:57 +0000 |
commit | e2df972eb1b251e9321868d79ea5c26d4b32b6e4 (patch) | |
tree | 011702a89ef99411c684cf6ed0c61fefe352afa6 /sys/vm/vnode_pager.c | |
parent | 4b6b0ee13a6e4197844609d59260d369def5c4a2 (diff) | |
download | FreeBSD-src-e2df972eb1b251e9321868d79ea5c26d4b32b6e4.zip FreeBSD-src-e2df972eb1b251e9321868d79ea5c26d4b32b6e4.tar.gz |
Cosmetic changes to the PAGE_XXX macros to make them consistent with
the other objects in vm.
Diffstat (limited to 'sys/vm/vnode_pager.c')
-rw-r--r-- | sys/vm/vnode_pager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 90570c6..ec6f9a8 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -38,7 +38,7 @@ * SUCH DAMAGE. * * from: @(#)vnode_pager.c 7.5 (Berkeley) 4/20/91 - * $Id: vnode_pager.c,v 1.95 1998/08/24 08:39:38 dfr Exp $ + * $Id: vnode_pager.c,v 1.96 1998/08/25 13:47:37 luoqi Exp $ */ /* @@ -440,7 +440,7 @@ vnode_pager_input_smlfs(object, m) } vm_pager_unmap_page(kva); pmap_clear_modify(VM_PAGE_TO_PHYS(m)); - PAGE_CLEAR_FLAG(m, PG_ZERO); + vm_page_flag_clear(m, PG_ZERO); if (error) { return VM_PAGER_ERROR; } @@ -504,7 +504,7 @@ vnode_pager_input_old(object, m) } pmap_clear_modify(VM_PAGE_TO_PHYS(m)); m->dirty = 0; - PAGE_CLEAR_FLAG(m, PG_ZERO); + vm_page_flag_clear(m, PG_ZERO); return error ? VM_PAGER_ERROR : VM_PAGER_OK; } @@ -771,7 +771,7 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage) vm_page_set_validclean(mt, 0, nvalid); } - PAGE_CLEAR_FLAG(mt, PG_ZERO); + vm_page_flag_clear(mt, PG_ZERO); if (i != reqpage) { /* @@ -791,7 +791,7 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage) vm_page_activate(mt); else vm_page_deactivate(mt); - PAGE_WAKEUP(mt); + vm_page_wakeup(mt); } else { vnode_pager_freepage(mt); } |