[OpenAFS-devel] [PATCH] fix openafs crashes on linux 2.6.10-2.6.12, and all RHEL4 kernels

Christopher Allen Wing wingc@engin.umich.edu
Wed, 18 Apr 2007 15:13:24 -0400 (EDT)


On Wed, 18 Apr 2007, Chaskiel M Grundman wrote:

> AFS_GLOCK is intended to prevent smp concurrency (and preemption). It also 
> provides mutual exclusion for ObtainXXXLock. AFS_GLOCK is dropped almost any 
> time the cache manager is going to sleep.

So the cross-platform AFS kernel code assumes a uniprocessor, 
non-preemptive kernel, and AFS_GLOCK() is used so that the actual kernel 
environment conforms to this?  Okay, that makes sense now.


Thanks,

Chris
wingc@engin.umich.edu