Re: [PATCH v2] rethook: Use __rcu pointer for rethook::handler

2023-11-30 Thread Google
On Thu, 30 Nov 2023 13:44:55 -0800 JP Kobryn wrote: > On Wed, Nov 29, 2023 at 09:24:22PM +0900, Masami Hiramatsu (Google) wrote: > > From: Masami Hiramatsu (Google) > > > > Since the rethook::handler is an RCU-maganged pointer so that it will > > notice readers the rethook is stopped (unregiste

Re: [PATCH v2] rethook: Use __rcu pointer for rethook::handler

2023-11-30 Thread JP Kobryn
On Wed, Nov 29, 2023 at 09:24:22PM +0900, Masami Hiramatsu (Google) wrote: > 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