summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec
diff options
context:
space:
mode:
authorWen Yang <wen.yang@linux.dev>2026-09-15 03:13:36 +0800
committerGabriele Monaco <gmonaco@redhat.com>2026-10-01 13:59:46 +0200
commit89a6f8102948afa5d0851a6eebf5d7b166a42a6f (patch)
treeaf18e8e964efcd0d7256c536014575e3a8801ad1 /rust/kernel/alloc/kvec
parentcd34b37a7d56b0e0daf0e82d50453599459e2496 (diff)
rv: Export rv_register_reactor() and rv_unregister_reactor()
rv_react() is exported to modules, but the reactor registration helpers are not. Export them with EXPORT_SYMBOL_GPL() so reactor modules and the tristate KUnit test module can register and unregister reactors without hitting undefined symbol errors at link time(modpost). Commit 3d3800b4f7f4 ("rv: Remove reactor's reference counter") noted that module-based reactors, if supported, should be pinned with try_module_get()/module_put() to prevent unloading under an active monitor. This patch does not add that support. The only in-tree module consumer, the tristate KUnit reactor test module, registers and unregisters its reactor within a controlled test lifecycle. The actual pinning is left to a follow-up series that adds support for loadable-module reactors. Reviewed-by: Gabriele Monaco <gmonaco@redhat.com> Signed-off-by: Wen Yang <wen.yang@linux.dev> Link: https://lore.kernel.org/r/94b7ec120a92b9368541ac050601e66be8fe653a.1789412799.git.wen.yang@linux.dev Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/kvec')
0 files changed, 0 insertions, 0 deletions