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

Derrick J Brashear shadow@dementia.org
Wed, 18 Apr 2007 15:15:22 -0400 (EDT)


On Wed, 18 Apr 2007, Christopher Allen Wing wrote:

>
>
> 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.

Nothing else existed in 1987 :)