]> git.baikalelectronics.ru Git - kernel.git/commit
Yama: add RCU to drop read locking
authorKees Cook <keescook@chromium.org>
Thu, 18 Oct 2012 21:53:58 +0000 (14:53 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 20 Nov 2012 18:32:07 +0000 (10:32 -0800)
commit1ded3748e05b6b473494f0d451c0f5087029653a
tree59473ffd3079719ebdff415fef688ee29f1f5eb8
parent505f345e5a682846714cabc6bedf4b82d9dd2f4b
Yama: add RCU to drop read locking

Stop using spinlocks in the read path. Add RCU list to handle the readers.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Acked-by: John Johansen <john.johansen@canonical.com>
security/yama/yama_lsm.c