Re: [PATCH 5/8] module: Add module_for_each_mod() function
From: Steven Rostedt
Date: Tue Feb 18 2025 - 16:30:53 EST
On Tue, 18 Feb 2025 13:21:20 -0800
Luis Chamberlain <mcgrof@xxxxxxxxxx> wrote:
> > Luis,
> >
> > Is this patch OK, and also is there any plan to move the module code to
> > using just rcu_read_lock instead of preempt_disable?
>
> The patch is not OK, you're looking at old code, look at
> modules-next and as Petr suggested look at Sebastian's recently
> merged work.
>
> git remote add korg-modules git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git
Ha! Some how I missed seeing the two replies from Petr and Sebastian!
Not sure how that happened. Something may be going wacky with claws-mail. :-/
Thanks for pointing them out. I'll definitely take a look.
-- Steve