From: David Howells Date: Fri, 24 Jun 2005 05:00:53 +0000 (-0700) Subject: [PATCH] Keys: Use RCU to manage session keyring pointer X-Git-Tag: v2.6.13-rc1~68^2~377 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8589b4e00e352f983259140f25a262d973be6bc5;p=pandora-kernel.git [PATCH] Keys: Use RCU to manage session keyring pointer The attached patch uses RCU to manage the session keyring pointer in struct signal_struct. This means that searching need not disable interrupts and get a the sighand spinlock to access this pointer. Furthermore, by judicious use of rcu_read_(un)lock(), this patch also avoids the need to take and put refcounts on the session keyring itself, thus saving on even more atomic ops. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed