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

Paul E. McKenney
2020-05-28T21:03:36Z

On Thu, May 28, 2020 at 09:33:59AM -0700, Paul E. McKenney wrote:
> On Thu, May 28, 2020 at 07:05:01PM +1000, Stephen Rothwell wrote:
> > Hi all,
> >
> > After merging the rcu tree, today's linux-next build (powercp
> > allyesconfig) failed like this:
> >
> > ld: kernel/rcu/refperf.o:(.discard+0x0): multiple definition of `__pcpu_unique_srcu_ctl_perf_srcu_data'; kernel/rcu/rcuperf.o:(.discard+0x0): first defined here
> >
> > Caused by commit
> >
> > 786a25497743 ("refperf: Add a test to measure performance of read-side synchronization")
> >
> > From srcutree.h:
> >
> > * Note that although DEFINE_STATIC_SRCU() hides the name from other
> > * files, the per-CPU variable rules nevertheless require that the
> > * chosen name be globally unique.
> >
> > I have applied the following patch for today.
>
> I have a patch queued, but it is currently blocked by other broken
> commits which I expect to have straightened out today.
>
> Yet again, please accept my apologies for the hassle!

And this is now in rcu/next.

Thanx, Paul