OpenAFS CVS Commit: openafs/src/rx by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
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
AUTHOR tkeiser@psu.edu
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 1.9.2.7 1.9.2.8
STABLE14-rx-fpq-optimize-20050425 openafs/src/rx/rx_queue.h 1.3 1.3.2.1