Re: linux-next: build failure after merge of the rcu tree

Stephen Rothwell
2023-05-22T01:45:12Z

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

Hi Paul,

On Thu, 18 May 2023 19:12:52 -0700 "Paul E. McKenney" <paulmck@kernel.org> wrote:
>
> On Fri, May 19, 2023 at 10:59:50AM +1000, Stephen Rothwell wrote:
> > Hi all,
> >
> > After merging the rcu tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
> >
> > kernel/rcu/rcuscale.c:340:27: error: 'get_rcu_tasks_trace_gp_kthread' undeclared here (not in a function); did you mean 'show_rcu_tasks_trace_gp_kthread'?
> > 340 | .rso_gp_kthread = get_rcu_tasks_trace_gp_kthread,
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > | show_rcu_tasks_trace_gp_kthread
> >
> > Caused by commit
> >
> > 9bb839a83e1b ("rcuscale: Measure grace-period kthread CPU time")
> >
> > CONFIG_RCU_SCALE_TEST=m
> >
> > I have used the rcu tree from next-20230518 for today.
>
> Huh. Modules and #ifdefs trip me up again. Will fix, and thank you
> for catching it!

This is now:

ERROR: modpost: "get_rcu_tasks_trace_gp_kthread" [kernel/rcu/rcuscale.ko] undefined!

I have used the rcu tree from next-20230518 again for today.
--
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]