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

1999/0714/port/allocb.c (diff list | history)

1999/0713/sys/src/9/port/allocb.c:50,561999/0714/sys/src/9/port/allocb.c:50,56 (short | long | prev | next)
Change tagwithpc to setmalloctag.
rsc Fri Mar 4 12:44:25 2005
1999/0710    
	if(b->rp < b->base) 
		panic("allocb"); 
	b->wp = b->rp; 
	tagwithpc(b, getcallerpc(&size)); 
1999/0714    
	setmalloctag(b, getcallerpc(&size)); 
1999/0710    
 
	return b; 
} 
1999/0713/sys/src/9/port/allocb.c:102,1081999/0714/sys/src/9/port/allocb.c:102,108
1999/0710    
	ilock(&ialloc); 
	ialloc.bytes += b->lim - b->base; 
	iunlock(&ialloc); 
	tagwithpc(b, getcallerpc(&size)); 
1999/0714    
	setmalloctag(b, getcallerpc(&size)); 
1999/0710    
 
	return b; 
} 


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