diff options
author | dyson <dyson@FreeBSD.org> | 1998-04-29 06:59:08 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1998-04-29 06:59:08 +0000 |
commit | a7cf05f1b7fdbe279f55e190924a6a1bf14213ab (patch) | |
tree | 424ba163088c616e60368e44dad4465de4b2c4a7 /sys/vm/vm_map.c | |
parent | 42ba449fffaad5aab00ee997ad5a729450c9603a (diff) | |
download | FreeBSD-src-a7cf05f1b7fdbe279f55e190924a6a1bf14213ab.zip FreeBSD-src-a7cf05f1b7fdbe279f55e190924a6a1bf14213ab.tar.gz |
Add a needed prototype, and fix a panic problem with the new
memory code.
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r-- | sys/vm/vm_map.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 2081243..e7012ad5 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.119 1998/04/28 05:54:47 dyson Exp $ + * $Id: vm_map.c,v 1.120 1998/04/29 04:28:04 dyson Exp $ */ /* @@ -172,6 +172,7 @@ static void vm_map_entry_dispose __P((vm_map_t, vm_map_entry_t)); static void vm_map_entry_unwire __P((vm_map_t, vm_map_entry_t)); static void vm_map_copy_entry __P((vm_map_t, vm_map_t, vm_map_entry_t, vm_map_entry_t)); +static void vm_map_split __P((vm_map_entry_t)); void vm_map_startup() @@ -1965,8 +1966,10 @@ vm_map_split(entry) goto retry; } + m->flags |= PG_BUSY; vm_page_protect(m, VM_PROT_NONE); vm_page_rename(m, new_object, idx); + PAGE_WAKEUP(m); } if (orig_object->type == OBJT_SWAP) { |