summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_extern.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-04-11 16:26:07 +0000
committeralc <alc@FreeBSD.org>2010-04-11 16:26:07 +0000
commit89e5d72c2bae413a546416f4726ffd31bebc7964 (patch)
tree96448d31d8c87e8d23d208c2b250f9d407c81ae2 /sys/vm/vm_extern.h
parent02f2ab87a28d7815613d690ceff6e2d7e408cbd6 (diff)
downloadFreeBSD-src-89e5d72c2bae413a546416f4726ffd31bebc7964.zip
FreeBSD-src-89e5d72c2bae413a546416f4726ffd31bebc7964.tar.gz
Initialize the virtual memory-related resource limits in a single place.
Previously, one of these limits was initialized in two places to a different value in each place. Moreover, because an unsigned int was used to represent the amount of pageable physical memory, some of these limits were incorrectly initialized on 64-bit architectures. (Currently, this error is masked by login.conf's default settings.) Make vm_thread_swapin() and vm_thread_swapout() static. Submitted by: bde (an earlier version) Reviewed by: kib
Diffstat (limited to 'sys/vm/vm_extern.h')
-rw-r--r--sys/vm/vm_extern.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h
index 72a74b9..83c468e 100644
--- a/sys/vm/vm_extern.h
+++ b/sys/vm/vm_extern.h
@@ -84,7 +84,5 @@ struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset);
void vm_imgact_unmap_page(struct sf_buf *sf);
void vm_thread_dispose(struct thread *td);
int vm_thread_new(struct thread *td, int pages);
-void vm_thread_swapin(struct thread *td);
-void vm_thread_swapout(struct thread *td);
#endif /* _KERNEL */
#endif /* !_VM_EXTERN_H_ */
OpenPOWER on IntegriCloud