Re: linux-next: manual merge of the akpm-current tree with the bpf-next tree
From: Andrew Morton
Date: Mon Dec 14 2020 - 21:12:51 EST
On Mon, 14 Dec 2020 18:06:29 -0800 Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
> On Mon, 14 Dec 2020 17:40:21 -0800 Andrew Morton wrote:
> > On Mon, 14 Dec 2020 17:29:43 -0800 Roman Gushchin <guro@xxxxxx> wrote:
> > > On Tue, Dec 15, 2020 at 07:21:56AM +1100, Stephen Rothwell wrote:
> > > > On Fri, 4 Dec 2020 20:20:05 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> > > > > Today's linux-next merge of the akpm-current tree got conflicts in:
> > > > >
> > > > > include/linux/memcontrol.h
> > > > > mm/memcontrol.c
> > > > >
> > > > > between commit:
> > > > >
> > > > > bcfe06bf2622 ("mm: memcontrol: Use helpers to read page's memcg data")
> > > > >
> > > > > from the bpf-next tree and commits:
> > > > >
> > > > > 6771a349b8c3 ("mm/memcg: remove incorrect comment")
> > > > > c3970fcb1f21 ("mm: move lruvec stats update functions to vmstat.h")
> > > > >
> > > > > from the akpm-current tree.
> > > > >
> > > ...
> > > >
> > > > Just a reminder that this conflict still exists. Commit bcfe06bf2622
> > > > is now in the net-next tree.
> > >
> > > Thanks, Stephen!
> > >
> > > I wonder if it's better to update these 2 commits in the mm tree to avoid
> > > conflicts?
> > >
> > > Basically split your fix into two and merge it into mm commits.
> > > The last chunk in the patch should be merged into "mm/memcg: remove incorrect comment".
> > > And the rest into "mm: move lruvec stats update functions to vmstat.h".
> > >
> > > Andrew, what do you think?
> >
> > I have "mm/memcg: remove incorrect comment" and "mm: move lruvec stats
> > update functions to vmstat.h" staged against Linus's tree and plan to
> > send them to him later today. So I trust the BPF tree maintainers will
> > be able to resolve these minor things when those patches turn up in
> > mainline.
>
> Hm. The code is in net-next by now. I was thinking of sending the
> Networking PR later today (tonight?) as well. I'm happy to hold off
> or do whatever you require, but I'd appreciate more explicit / noob
> friendly instructions.
Linus tends not to like it when tree maintainers do last-minute
conflict fixes.
> AFAIU all we can do is tell Linus about the merge issue, and point
> at Stephen's resolution.
That's the way to do it - including a (tested?) copy in the email would
be nice.