plan 9 kernel history: overview | file list | diff list

2001/0530/port/cache.c (diff list | history)

2001/0527/sys/src/9/port/cache.c:111,1202001/0530/sys/src/9/port/cache.c:111,120 (short | long | prev | next)
1993/1014    
	m = cache.head; 
1998/0512    
 
2000/0609    
	/* a better algorithm would be nice */ 
2001/0527    
	if(conf.npage*BY2PG > 200*MB) 
		maxcache = 10*MAXCACHE; 
	if(conf.npage*BY2PG > 400*MB) 
		maxcache = 50*MAXCACHE; 
2001/0530    
//	if(conf.npage*BY2PG > 200*MB) 
//		maxcache = 10*MAXCACHE; 
//	if(conf.npage*BY2PG > 400*MB) 
//		maxcache = 50*MAXCACHE; 
1999/0903    
 
1993/1016    
	for(i = 0; i < NFILE-1; i++) { 
1993/1014    
		m->next = m+1; 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)