diff options
-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; } |