OpenAFS CVS Commit: openafs/src/afs/LINUX by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 24 Jun 2002 18:18:48 EDT


Update of /cvs/openafs/src/afs/LINUX
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-prototypes-1.3/openafs/src/afs/LINUX

Modified Files:
      Tag: openafs-prototypes-1_3_x
	osi_sleep.c 
Log Message:
DELTA PROTO13-linux-sleep-wakeup-cleanup-20020624
AUTHOR chas@cmf.nrl.navy.mil

"cleanup osi_sleep.c to remove some additional races.  this patches
removes AFS_GLOBAL_SUNLOCK and just uses that case to handle both
smp and non smp cases.  osi_TimedSleep always sleeps atleast 1 hz.
(it also always sleeps interruptibly -- you might get some extra
loops but this is better than the load average running away)
sleep_on's are replaced with the more appropriate add_waitq/schedule
sequence.  getevent is called after addevent since there is no
danger of GLOCK dropping.  getevent/addevent isnt re-merged since
osi_Wakeup doesnt create entries in the event table."


--- DELTA config for openafs-prototypes-1_3_x follows ---
PROTO13-linux-sleep-wakeup-cleanup-20020624 openafs/src/afs/LINUX/osi_sleep.c 1.12.2.4 1.12.2.5