summaryrefslogtreecommitdiff
path: root/packages/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/swap-performance.patch
blob: 1cde717bb49df90f96400bbf8f32461a9c5eadef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** ../linux/mm/swap.c	Tue Jan 14 14:54:41 2003
--- linux/mm/swap.c	Sun Sep 28 21:34:25 2003
***************
*** 32,38 ****
  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 */
  };
--- 32,38 ----
  int page_cluster;
  
  pager_daemon_t pager_daemon = {
! 	128,	/* 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 */
  };