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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 10 Jul 2002 17:04:45 EDT


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

Modified Files:
      Tag: openafs-stable-1_2_x
	osi_sleep.c 
Log Message:
DELTA STABLE12-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-stable-1_2_x follows ---
STABLE12-linux-sleep-wakeup-cleanup-20020624 openafs/src/afs/LINUX/osi_sleep.c 1.6.4.4 1.6.4.5