[OpenAFS-devel] kernel locking

John S. Bucy bucy-openafs-devel@gloop.org
Fri, 5 Nov 2004 15:19:39 -0500


Our experience with PAG problems has been that when the system goes to
the wall and runs out of PAGs that the cache manager effectively
deadlocks.  afs_setpag() is protected by the GLOCK and so it seems
plausible that reducing its use of the GLOCK might be beneficial. It
seems like it shouldn't be much work to add some finer-grained locking
here; I'm just not sure what locks I should be using.  The afs/lock.h
ones?



john