Skip to contentSkip to conversation

linux-next: duplicate patches in the tip tree

DISCUSSION Stephen Rothwell 5 participants 5 messages Dec 9, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

The following commits are also in the mm tree as different commits (but the same patches):

96450ead1652 ("seqlock: add raw_seqcount_try_begin") eb449bd96954 ("mm: convert mm_lock_seq to a proper seqcount")

These are commits

46dbe8ab1205 ("seqlock: add raw_seqcount_try_begin") 5f0d64389e1f ("mm: convert mm_lock_seq to a proper seqcount")

from the mm-unstable branch of the mm tree. The latter ones are already causing conflicts.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 8 lines · Stephen Rothwell

Hi all,

The following commits are also in the mm tree as different commits (but the same patches):

96450ead1652 ("seqlock: add raw_seqcount_try_begin") eb449bd96954 ("mm: convert mm_lock_seq to a proper seqcount")

Quoted 7 lines

These are commits

46dbe8ab1205 ("seqlock: add raw_seqcount_try_begin") 5f0d64389e1f ("mm: convert mm_lock_seq to a proper seqcount")

from the mm-unstable branch of the mm tree. The latter ones are already causing conflicts.

Why is this in -mm ? I agreed with Suren I'd take them through tip/perf/core to go along with Andrii's uprobe patch that relies on them.

#2 lore raw
Quoted 11 lines · On Mon, 9 Dec 2024 12:08:42 +0100 Peter Zijlstra <[email protected]> wrote:
Quoted 10 lines · Stephen Rothwell

Hi all,

The following commits are also in the mm tree as different commits (but the same patches):

96450ead1652 ("seqlock: add raw_seqcount_try_begin") eb449bd96954 ("mm: convert mm_lock_seq to a proper seqcount")

These are commits

Quoted 7 lines
Quoted 5 lines

46dbe8ab1205 ("seqlock: add raw_seqcount_try_begin") 5f0d64389e1f ("mm: convert mm_lock_seq to a proper seqcount")

from the mm-unstable branch of the mm tree. The latter ones are already causing conflicts.

Why is this in -mm ?

Because
https://lore.kernel.org/all/[email protected]/T/#u
needs it.

Quoted 3 lines

I agreed with Suren I'd take them through
tip/perf/core to go along with Andrii's uprobe patch that relies on them.

#3 lore raw
Quoted 17 lines · Andrew Morton
Quoted 14 lines · On Mon, 9 Dec 2024 12:08:42 +0100 Peter Zijlstra <[email protected]> wrote:
Quoted 13 lines · Stephen Rothwell

Hi all,

The following commits are also in the mm tree as different commits (but the same patches):

96450ead1652 ("seqlock: add raw_seqcount_try_begin") eb449bd96954 ("mm: convert mm_lock_seq to a proper seqcount")

These are commits

46dbe8ab1205 ("seqlock: add raw_seqcount_try_begin") 5f0d64389e1f ("mm: convert mm_lock_seq to a proper seqcount")

Quoted 12 lines
Quoted 4 lines
Quoted 2 lines

from the mm-unstable branch of the mm tree. The latter ones are already causing conflicts.

Why is this in -mm ?

Because
https://lore.kernel.org/all/[email protected]/T/#u
needs it.

Quoted 3 lines

I agreed with Suren I'd take them through
tip/perf/core to go along with Andrii's uprobe patch that relies on them.

Both trees now have changes depending on those patches. If we can't have them in both trees then I can rework my last patchset in the mm tree to use old seqcount code and not require those patches, but we will have to deal with the merge conflicts later.

#4 lore raw
Quoted 8 lines · Suren Baghdasaryan
Quoted 7 lines · Andrew Morton
Quoted 1 line · On Mon, 9 Dec 2024 12:08:42 +0100 Peter Zijlstra <[email protected]> wrote:

Why is this in -mm ?

Because
https://lore.kernel.org/all/[email protected]/T/#u
needs it.

Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

I agreed with Suren I'd take them through
tip/perf/core to go along with Andrii's uprobe patch that relies on them.

Both trees now have changes depending on those patches. If we can't have them in both trees then I can rework my last patchset in the mm tree to use old seqcount code and not require those patches, but we will have to deal with the merge conflicts later.

Usually one tree picks the changes up into a seperate branch based on -rc1 and declares that branch immutable by tagging it. Both trees then can merge it into their respective branches which depend on it.

Thanks,

tglx