From 89e5d72c2bae413a546416f4726ffd31bebc7964 Mon Sep 17 00:00:00 2001 From: alc Date: Sun, 11 Apr 2010 16:26:07 +0000 Subject: 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 --- sys/vm/vm_extern.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/vm/vm_extern.h') 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_ */ -- cgit v1.1