[OpenAFS-devel] afs_osi_Sleep and afs_osi_Wakeup on Linux

Derrick J Brashear shadow@dementia.org
Wed, 5 Jun 2002 14:51:30 -0400 (EDT)


On Wed, 5 Jun 2002, chas williams wrote:

> >I guess we drop GLOCK because there is a possibility that alloc
> >might sleep in vmalloc under heavy load and we don't want to
> >lock up the system for so long, which is probably a good idea.
>
> actually, i think i would have to disagree due to the number
> of strange side effects this could cause, like the event
> mechanism. other os's (as you have mentioned) dont drop
> the lock.  i am beginning to think this is a bad idea since
> various part of the afs code dont seem to expect alloc's
> to drop glock.

going to sleep with the GLOCK isn't likely to result in fewer "strange
side effects".