summaryrefslogtreecommitdiffstats
path: root/sys/vm/swap_pager.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-08-06 12:08:27 +0000
committerphk <phk@FreeBSD.org>2003-08-06 12:08:27 +0000
commit09d8ecf0bf7cabc69e022a1a17fa61adfbf550a4 (patch)
tree7db73c743ae4b22019f0ef42dfa986c1d8a41054 /sys/vm/swap_pager.h
parent63d9a65167e4c4e19bfd05d7a5b33a7551aa1daa (diff)
downloadFreeBSD-src-09d8ecf0bf7cabc69e022a1a17fa61adfbf550a4.zip
FreeBSD-src-09d8ecf0bf7cabc69e022a1a17fa61adfbf550a4.tar.gz
Staticize swap_pager_putpages()
Eliminate a lot of checkes to make sure requests are not cross-device which is unnecessary with the new layout. We know a sequential request cannot possibly be cross-device because there is a reserved page between the devices. Remove a couple of comments which no longer are relevant.
Diffstat (limited to 'sys/vm/swap_pager.h')
-rw-r--r--sys/vm/swap_pager.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/vm/swap_pager.h b/sys/vm/swap_pager.h
index 33c409d..5ae14c8 100644
--- a/sys/vm/swap_pager.h
+++ b/sys/vm/swap_pager.h
@@ -39,11 +39,6 @@
* $FreeBSD$
*/
-/*
- * Modifications to the block allocation data structure by John S. Dyson
- * 18 Dec 93.
- */
-
#ifndef _VM_SWAP_PAGER_H_
#define _VM_SWAP_PAGER_H_ 1
@@ -53,7 +48,6 @@ extern int swap_pager_full;
extern int swap_pager_avail;
struct swdevt;
-void swap_pager_putpages(vm_object_t, vm_page_t *, int, boolean_t, int *);
void swap_pager_copy(vm_object_t, vm_object_t, vm_pindex_t, int);
void swap_pager_freespace(vm_object_t, vm_pindex_t, vm_size_t);
void swap_pager_swap_init(void);
OpenPOWER on IntegriCloud