patch-1.3.53 linux/mm/swap.c
Next file: linux/CREDITS
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
-  Lines: 19
 -  Date:
Tue Jan  2 14:15:25 1996
 -  Orig file: 
v1.3.52/linux/mm/swap.c
 -  Orig date: 
Sat Dec 30 15:50:56 1995
 
diff -u --recursive --new-file v1.3.52/linux/mm/swap.c linux/mm/swap.c
@@ -44,7 +44,7 @@
 
 swap_control_t swap_control = {
 	20, 3, 1, 3,		/* Page aging */
-	10, 2, 2, 0,		/* Buffer aging */
+	10, 2, 2, 4,		/* Buffer aging */
 	32, 4,			/* Aging cluster */
 	8192, 8192,		/* Pageout and bufferout weights */
 	-200,			/* Buffer grace */
@@ -1343,7 +1343,7 @@
 		bitmap_size = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT + i);
 		bitmap_size = (bitmap_size + 7) >> 3;
 		bitmap_size = LONG_ALIGN(bitmap_size);
-		free_area_map[i] = (unsigned char *) start_mem;
+		free_area_map[i] = (unsigned int *) start_mem;
 		memset((void *) start_mem, 0, bitmap_size);
 		start_mem += bitmap_size;
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this