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

1991/0830/port/segment.c (diff list | history)

1991/0803/sys/src/9/port/segment.c:354,3621991/0830/sys/src/9/port/segment.c:354,360 (short | long | prev | next)
1991/0705    
 
	if(newsize > (PTEMAPMEM*SEGMAPSIZE)/BY2PG) { 
		qunlock(&s->lk); 
		pprint("exceeded max segment size\n"); 
		pexit("Suicide", 0); 
		error(Esegaddr); 
1991/0830    
		return -1; 
1991/0705    
	} 
 
	for(i = 0; i < NSEG; i++) { 


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