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

1992/0310/port/segment.c (diff list | history)

1992/0307/sys/src/9/port/segment.c:272,2771992/0310/sys/src/9/port/segment.c:272,280 (short | long | prev | next)
1991/0706    
	if(!canqlock(&ireclaim))	/* Somebody is already cleaning the page cache */ 
		return; 
 
1992/0310    
	if(conf.cntrlp) 
	print("ireclaim %lud\n", TK2MS(MACHP(0)->ticks)); 
 
1991/1024    
	for(;;) { 
		lock(&palloc); 
		for(p = palloc.head; p; p = p->next) 
1992/0307/sys/src/9/port/segment.c:289,2941992/0310/sys/src/9/port/segment.c:292,300
1991/0706    
			uncachepage(p); 
		unlockpage(p); 
	} 
1992/0310    
 
	if(conf.cntrlp) 
	print("ireclaim done %lud\n", TK2MS(MACHP(0)->ticks)); 
1991/0706    
 
	qunlock(&ireclaim); 
} 


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