diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-23 06:11:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-23 06:11:31 +0000 |
commit | 742fce466c35dcd9ad3ccf7c4c6cc26b0535d0e7 (patch) | |
tree | 09ed6de8173663e4c6e2c066bc09ff5d1391d659 /sys | |
parent | 607e24a5594950564876f13d5452875e90345384 (diff) |
vm_map_pageable(..,FALSE) of upage is pica specific
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_glue.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 73304c36b8d..e8a668ec61f 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -400,8 +400,10 @@ loop: p->p_pid, p->p_comm, p->p_addr, ppri, cnt.v_free_count); #endif - vm_map_pageable(kernel_map, p->p_addr, - p->p-addr + size, FALSE); +#ifdef pica + vm_map_pageable(kernel_map, (vm_offset_t)p->p_addr, + (vm_offset_t)p->p_addr + atop(USPACE), FALSE); +#endif swapin(p); goto loop; } |