]> 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)
commit32ac335b7f3ff0ca18e458e70d1b314f168f11c1
tree59473ffd3079719ebdff415fef688ee29f1f5eb8
parent6a9481fcc6ce263aaaa4b7af7e37467394975650
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