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

1990/0310/port/proc.c (diff list | history)

1990/03091/sys/src/9/port/proc.c:199,2091990/0310/sys/src/9/port/proc.c:199,206 (short | long | prev | next)
Remove lock allocation loop after all.
rsc Mon Mar 20 17:13:59 2006
1990/0227    
	procalloc.arena = procalloc.free; 
 
	p = procalloc.free; 
1990/03091    
	for(i=0; i<conf.nproc-1; i++,p++){ 
		lock(p);	/* allocate now, not during wakeup */ 
		unlock(p); 
1990/0310    
	for(i=0; i<conf.nproc-1; i++,p++) 
1990/0227    
		p->qnext = p+1; 
1990/03091    
	} 
1990/0227    
	p->qnext = 0; 
} 
 


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