OpenAFS CVS Commit: openafs/src/rx by jaltman

Mon, 25 Apr 2005 16:56:03 EDT

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

Modified Files:
      Tag: openafs-stable-1_4_x
	rx_globals.h rx_queue.h 
Log Message:
DELTA STABLE14-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 for openafs-stable-1_4_x follows ---
STABLE14-rx-fpq-optimize-20050425 openafs/src/rx/rx_globals.h
STABLE14-rx-fpq-optimize-20050425 openafs/src/rx/rx_queue.h 1.3