diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2025-01-08 09:04:41 +0000 |
|---|---|---|
| committer | Petr Pavlu <[email protected]> | 2025-03-10 10:54:45 +0000 |
| commit | 7d9dda6f628fde3d227a69bec6a82160577b79ca (patch) | |
| tree | d1ad10072b128b028dd597f77c675a47f977a809 /lib/timerqueue.c | |
| parent | module: Use RCU in __is_module_percpu_address(). (diff) | |
| download | kernel-7d9dda6f628fde3d227a69bec6a82160577b79ca.tar.gz kernel-7d9dda6f628fde3d227a69bec6a82160577b79ca.zip | |
module: Allow __module_address() to be called from RCU section.
mod_find() uses either the modules list to find a module or a tree
lookup (CONFIG_MODULES_TREE_LOOKUP). The list and the tree can both be
iterated under RCU assumption (as well as RCU-sched).
Remove module_assert_mutex_or_preempt() from __module_address() and
entirely since __module_address() is the last user.
Update comments.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
