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/vm_map.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/vm_map.c')
-rw-r--r-- | sys/vm/vm_map.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 9205540..73c2d56 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.c,v 1.133 1998/08/06 08:33:19 dfr Exp $ + * $Id: vm_map.c,v 1.134 1998/08/24 08:39:37 dfr Exp $ */ /* @@ -1990,16 +1990,16 @@ vm_map_split(entry) if (m == NULL) continue; if (m->flags & PG_BUSY) { - PAGE_SET_FLAG(m, PG_WANTED); + vm_page_flag_set(m, PG_WANTED); tsleep(m, PVM, "spltwt", 0); goto retry; } - PAGE_SET_FLAG(m, PG_BUSY); + vm_page_busy(m); vm_page_protect(m, VM_PROT_NONE); vm_page_rename(m, new_object, idx); m->dirty = VM_PAGE_BITS_ALL; - PAGE_SET_FLAG(m, PG_BUSY); + vm_page_busy(m); } if (orig_object->type == OBJT_SWAP) { @@ -2018,7 +2018,7 @@ vm_map_split(entry) for (idx = 0; idx < size; idx++) { m = vm_page_lookup(new_object, idx); if (m) { - PAGE_WAKEUP(m); + vm_page_wakeup(m); } } @@ -2808,9 +2808,9 @@ m_inretry: vm_page_activate(m_out); - PAGE_WAKEUP(m_in); + vm_page_wakeup(m_in); } - PAGE_WAKEUP(m_out); + vm_page_wakeup(m_out); } object->shadow_count--; |