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

1993/0817/port/portdat.h (diff list | history)

1993/0816/sys/src/9/port/portdat.h:306,3111993/0817/sys/src/9/port/portdat.h:306,312 (short | long | prev | next)
add Page.color, Page.freecol
rsc Fri Mar 4 12:44:25 2005
1991/0705    
	ulong	daddr;			/* Disc address on swap */ 
	ushort	ref;			/* Reference count */ 
	char	modref;			/* Simulated modify/reference bits */ 
1993/0817    
	char	color;			/* Cache coloring */ 
1991/0705    
	char	cachectl[MAXMACH];	/* Cache flushing control for putmmu */ 
	Image	*image;			/* Associated text or swap image */ 
	Page	*next;			/* Lru free list */ 
1993/0816/sys/src/9/port/portdat.h:454,4601993/0817/sys/src/9/port/portdat.h:455,462
1992/0619    
	ulong	np0, np1;		/* number of pages in bank 0/1 */ 
1991/0724    
	Page	*head;			/* most recently used */ 
	Page	*tail;			/* least recently used */ 
	ulong	freecount;		/* how many pages on free list now */ 
1993/0817    
	ulong	freecount; 
	ulong	freecol[NCOLOR];	/* how many pages on free list now */ 
1991/0724    
	ulong	user;			/* how many user pages */ 
1991/0705    
	Page	*hash[PGHSIZE]; 
	Lock	hashlock; 


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