Commit d593e0c
module: Use RCU in all users of __module_text_address().
__module_text_address() can be invoked within a RCU section, there is no
requirement to have preemption disabled.
Replace the preempt_disable() section around __module_text_address()
with RCU.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250108090457.512198-16-bigeasy@linutronix.de
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>1 parent 6593a2c commit d593e0c
1 file changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
| 826 | + | |
827 | 827 | | |
828 | | - | |
| 828 | + | |
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
832 | | - | |
833 | 832 | | |
834 | 833 | | |
835 | 834 | | |
| |||
3776 | 3775 | | |
3777 | 3776 | | |
3778 | 3777 | | |
3779 | | - | |
3780 | | - | |
3781 | | - | |
3782 | | - | |
3783 | | - | |
3784 | | - | |
3785 | | - | |
| 3778 | + | |
| 3779 | + | |
3786 | 3780 | | |
3787 | 3781 | | |
3788 | 3782 | | |
3789 | 3783 | | |
3790 | 3784 | | |
3791 | 3785 | | |
3792 | | - | |
| 3786 | + | |
3793 | 3787 | | |
3794 | 3788 | | |
3795 | 3789 | | |
| |||
0 commit comments