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

1991/0806/port/portdat.h (diff list | history)

1991/0802/sys/src/9/port/portdat.h:355,3601991/0806/sys/src/9/port/portdat.h:355,363 (short | long | prev | next)
Add rendezvous hash table to Pgrp, Rendezvous state, rendezvous info in Proc.
rsc Fri Mar 4 12:44:25 2005
1991/0705    
	Pte	*map[SEGMAPSIZE];	/* segment pte map */ 
}; 
 
1991/0806    
#define RENDHASH	32 
#define REND(p,s)	((p)->rendhash[(s)%RENDHASH]) 
 
1991/0428    
struct Pgrp 
{ 
	Ref;				/* also used as a lock when mounting */ 
1991/0802/sys/src/9/port/portdat.h:365,3701991/0806/sys/src/9/port/portdat.h:368,374
1991/0428    
	int	nmtab;			/* highest active mount table entry, +1 */ 
	QLock	debug;			/* single access via devproc.c */ 
	Mtab	*mtab; 
1991/0806    
	Proc	*rendhash[RENDHASH];	/* Rendezvous tag hash */ 
1991/0705    
}; 
 
struct Egrp 
1991/0802/sys/src/9/port/portdat.h:437,4421991/0806/sys/src/9/port/portdat.h:441,447
1991/0428    
	Wakeme, 
	Broken, 
1991/0705    
	Stopped, 
1991/0806    
	Rendezvous, 
1991/0428    
}; 
 
/* 
1991/0802/sys/src/9/port/portdat.h:499,5041991/0806/sys/src/9/port/portdat.h:504,513
1991/0705    
	int 	hasspin;		/* I hold a spin lock */ 
	int	newtlb;			/* Pager has touched my tables so I must flush */ 
	int	procctl;		/* Control for /proc debugging */ 
1991/0806    
 
	ulong	rendtag;		/* Tag for rendezvous */  
	ulong	rendval;		/* Value for rendezvous */ 
	Proc	*rendhash;		/* Hash list for tag values */ 
1991/0504    
	/* 
1991/0507    
	 *  machine specific MMU goo 
1991/0504    
	 */ 


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