Use-__rcu-pointer-for-rethook-handler/20231124-090634
> base: linus/master
> patch link:
> https://lore.kernel.org/r/170078778632.209874.7893551840863388753.stgit%40devnote2
> patch subject: [PATCH] rethook: Use __rcu pointer for rethook::handler
> config: x86_64-randconfig-r113-
rnel.org/r/170078778632.209874.7893551840863388753.stgit%40devnote2
patch subject: [PATCH] rethook: Use __rcu pointer for rethook::handler
config: x86_64-randconfig-r113-20231124
(https://download.01.org/0day-ci/archive/20231124/202311241808.rv9ceuah-...@intel.com/config)
compiler: clang version 16.0.4 (https://githu
From: Masami Hiramatsu (Google)
Since the rethook::handler is an RCU-maganged pointer so that it will
notice readers the rethook is stopped (unregistered) or not, it should
be an __rcu pointer and use appropriate functions to be accessed. This
will use appropriate memory barrier when accessing it
3 matches
Mail list logo