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

1991/0517/port/proc.c (diff list | history)

1991/0517/sys/src/9/port/proc.c:339,3491991/0523/sys/src/9/port/proc.c:339,350 (short | long | prev | next)
Handle u==0 in kmap case in postnote (BUG FIX).
rsc Mon Mar 20 17:14:11 2006
1991/0430    
	if(p->upage == 0) 
		errors("noted process disappeared"); 
1991/0425    
 
1991/0109    
	if(p != u->p){ 
1991/0523    
	if(u == 0 || p != u->p){ 
1991/0109    
		k = kmap(p->upage); 
		up = (User*)VA(k); 
1991/0425    
	}else  
1991/0109    
		up = u; 
1991/0523    
 
1991/0425    
 
1990/0227    
	if(flag!=NUser && (up->notify==0 || up->notified)) 
		up->nnote = 0;	/* force user's hand */ 


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