diff options
| author | Christoph Hellwig <hch@sb.bsdonline.org> | 2002-07-29 19:17:43 +0200 |
|---|---|---|
| committer | Christoph Hellwig <hch@sb.bsdonline.org> | 2002-07-29 19:17:43 +0200 |
| commit | a074f68006d301fb0dbab9a460eba7cd0eb22c15 (patch) | |
| tree | 88abe2caa0e0b5699c203e6ba8fc776f99fa1428 /mm | |
| parent | ff42067bdefaa5f3afac540d81b27a1c2751bed4 (diff) | |
VM: remove unused /proc/sys/vm/kswapd and swapctl.h
These were totally unused for a long time. It's interesting how
many files include swapctl.h, though..
Diffstat (limited to 'mm')
| -rw-r--r-- | mm/bootmem.c | 1 | ||||
| -rw-r--r-- | mm/memory.c | 1 | ||||
| -rw-r--r-- | mm/mmap.c | 1 | ||||
| -rw-r--r-- | mm/oom_kill.c | 1 | ||||
| -rw-r--r-- | mm/swap.c | 7 | ||||
| -rw-r--r-- | mm/swap_state.c | 1 | ||||
| -rw-r--r-- | mm/swapfile.c | 1 | ||||
| -rw-r--r-- | mm/vmscan.c | 1 |
8 files changed, 0 insertions, 14 deletions
diff --git a/mm/bootmem.c b/mm/bootmem.c index cfeb5f57e862..12069ad2f152 100644 --- a/mm/bootmem.c +++ b/mm/bootmem.c @@ -12,7 +12,6 @@ #include <linux/mm.h> #include <linux/kernel_stat.h> #include <linux/swap.h> -#include <linux/swapctl.h> #include <linux/interrupt.h> #include <linux/init.h> #include <linux/bootmem.h> diff --git a/mm/memory.c b/mm/memory.c index ea9ec1c8d6ce..0f073ce32404 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -41,7 +41,6 @@ #include <linux/mman.h> #include <linux/swap.h> #include <linux/smp_lock.h> -#include <linux/swapctl.h> #include <linux/iobuf.h> #include <linux/highmem.h> #include <linux/pagemap.h> diff --git a/mm/mmap.c b/mm/mmap.c index 1546d0298de6..669a7181299b 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -11,7 +11,6 @@ #include <linux/mman.h> #include <linux/pagemap.h> #include <linux/swap.h> -#include <linux/swapctl.h> #include <linux/smp_lock.h> #include <linux/init.h> #include <linux/file.h> diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 074ea5bee8e9..edbe91353067 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -18,7 +18,6 @@ #include <linux/mm.h> #include <linux/sched.h> #include <linux/swap.h> -#include <linux/swapctl.h> #include <linux/timex.h> /* #define DEBUG */ diff --git a/mm/swap.c b/mm/swap.c index cc97e3c8c6b8..6dcaf7567559 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -16,7 +16,6 @@ #include <linux/mm.h> #include <linux/kernel_stat.h> #include <linux/swap.h> -#include <linux/swapctl.h> #include <linux/pagemap.h> #include <linux/init.h> @@ -27,12 +26,6 @@ /* How many pages do we try to swap or page in/out together? */ int page_cluster; -pager_daemon_t pager_daemon = { - 512, /* base number for calculating the number of tries */ - SWAP_CLUSTER_MAX, /* minimum number of tries */ - 8, /* do swap I/O in clusters of this size */ -}; - /* * Move an inactive page to the active list. */ diff --git a/mm/swap_state.c b/mm/swap_state.c index 5fa036b0503c..2069d022595c 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -10,7 +10,6 @@ #include <linux/mm.h> #include <linux/kernel_stat.h> #include <linux/swap.h> -#include <linux/swapctl.h> #include <linux/init.h> #include <linux/pagemap.h> #include <linux/smp_lock.h> diff --git a/mm/swapfile.c b/mm/swapfile.c index 2479dfcc59f2..330c94cef787 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -10,7 +10,6 @@ #include <linux/smp_lock.h> #include <linux/kernel_stat.h> #include <linux/swap.h> -#include <linux/swapctl.h> #include <linux/vmalloc.h> #include <linux/pagemap.h> #include <linux/namei.h> diff --git a/mm/vmscan.c b/mm/vmscan.c index 4ef0f37d18b5..f6815bae9fab 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -15,7 +15,6 @@ #include <linux/slab.h> #include <linux/kernel_stat.h> #include <linux/swap.h> -#include <linux/swapctl.h> #include <linux/smp_lock.h> #include <linux/pagemap.h> #include <linux/init.h> |
