OpenAFS CVS Commit: openafs/src/rx by jaltman

Mon, 25 Apr 2005 16:53:00 EDT

Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/rx

Modified Files:
	rx_globals.h rx_queue.h 
Log Message:
DELTA rx-fpq-optimize-20050425
FIXES 17805 

here's a patch that reduces the overhead of transfers
between the local and global free packet queues. The old algorithm was
O(n) in the number of store instructions -- 7 per rx_packet. I've added
some bulk transfer macros to the rx_queue package. Now, the number of
store instructions is O(1) -- 6 total. This should help reduce bus
contention and cache line invalidates on SMPs.

--- DELTA config follows ---
rx-fpq-optimize-20050425 openafs/src/rx/rx_globals.h 1.16 1.17
rx-fpq-optimize-20050425 openafs/src/rx/rx_queue.h 1.3 1.4