]> git.baikalelectronics.ru Git - kernel.git/commit
tomoyo: Suppress RCU warning at list_for_each_entry_rcu().
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 16 Dec 2019 10:16:48 +0000 (19:16 +0900)
committerTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 16 Dec 2019 14:02:27 +0000 (23:02 +0900)
commita116cd17b18b1b9e714ea4660b1f6a0435515a6f
tree251dc2e67c7d663494bfcbff62a8b4083029a306
parent4fd56dbfe12bc54a5a9c768047ee7674a34e8e2c
tomoyo: Suppress RCU warning at list_for_each_entry_rcu().

John Garry has reported that allmodconfig kernel on arm64 causes flood of
"RCU-list traversed in non-reader section!!" warning. I don't know what
change caused this warning, but this warning is safe because TOMOYO uses
SRCU lock instead. Let's suppress this warning by explicitly telling that
the caller is holding SRCU lock.

Reported-and-tested-by: John Garry <john.garry@huawei.com>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
security/tomoyo/common.c
security/tomoyo/domain.c
security/tomoyo/group.c
security/tomoyo/util.c