summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_kern.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-06-14 18:21:01 +0000
committeralc <alc@FreeBSD.org>2002-06-14 18:21:01 +0000
commit42cf959f1837b06c3ec3b8fa7bb33a47c85b92af (patch)
treee222c1be9c51b6924d642c93a4e8629cdae24952 /sys/vm/vm_kern.c
parentddf3317becaf1f927336e43f96f900868c8d0a80 (diff)
downloadFreeBSD-src-42cf959f1837b06c3ec3b8fa7bb33a47c85b92af.zip
FreeBSD-src-42cf959f1837b06c3ec3b8fa7bb33a47c85b92af.tar.gz
o Use vm_map_wire() and vm_map_unwire() in place of vm_map_pageable() and
vm_map_user_pageable(). o Remove vm_map_pageable() and vm_map_user_pageable(). o Remove vm_map_clear_recursive() and vm_map_set_recursive(). (They were only used by vm_map_pageable() and vm_map_user_pageable().) Reviewed by: tegge
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r--sys/vm/vm_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
index 087247c..aa7c885 100644
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -212,7 +212,7 @@ kmem_alloc(map, size)
/*
* And finally, mark the data as non-pageable.
*/
- (void) vm_map_pageable(map, (vm_offset_t) addr, addr + size, FALSE);
+ (void) vm_map_wire(map, addr, addr + size, FALSE);
return (addr);
}
OpenPOWER on IntegriCloud