[PATCH] keys: Discard key spinlock and use RCU for key payload [try #2]

2005-03-09 Thread David Howells
The attached patch changes the key implementation in a number of ways: (1) It removes the spinlock from the key structure. (2) The key flags are now accessed using atomic bitops instead of write-locking the key spinlock and using C bitwise operators. The three instantiation flags

[PATCH] keys: Discard key spinlock and use RCU for key payload [try #2]

2005-03-09 Thread David Howells
The attached patch changes the key implementation in a number of ways: (1) It removes the spinlock from the key structure. (2) The key flags are now accessed using atomic bitops instead of write-locking the key spinlock and using C bitwise operators. The three instantiation flags