Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.100 /mm/swap.c

Filename:/mm/swap.c
Lines Added:8
Lines Deleted:2
Also changed in: (Previous) 2.1.91  2.1.90  2.1.37  2.1.36  2.1.34  2.1.6 
(Following) 2.1.107  2.1.116  2.1.117  2.1.121  2.1.130  2.1.131 

Location
[  2.1.100
  [  mm
     o  swap.c

Patch

diff -u --recursive --new-file v2.1.99/linux/mm/swap.c linux/mm/swap.c
--- v2.1.99/linux/mm/swap.c   Thu Mar 26 15:57:06 1998
+++ linux/mm/swap.c   Sat May  2 17:44:59 1998
@@ -44,8 +44,8 @@
  */
 freepages_t freepages = {
    48,   /* freepages.min */
-   72,   /* freepages.low */
-   96   /* freepages.high */
+   96,   /* freepages.low */
+   144   /* freepages.high */
 };
 
 /* We track the number of pages currently being asynchronously swapped
@@ -76,4 +76,10 @@
    10,   /* minimum percent page cache */
    30,   /* borrow percent page cache */
    75   /* maximum */
+};
+
+pager_daemon_t pager_daemon = {
+   512,   /* base number for calculating the number of tries */
+   SWAP_CLUSTER_MAX,   /* minimum number of tries */
+   SWAP_CLUSTER_MAX,   /* do swap I/O in clusters of this size */
 };


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.