Skip to contentSkip to conversation

MAINTAINERS: name the livepatching for-next branch

PATCH In review Matthias Goergens 3 participants 4 messages Sep 26 – Sep 30 Live patching

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MAINTAINERS: name the livepatching for-next branch

The T: entry for LIVE PATCHING names livepatching/livepatching without a branch. The repository's HEAD points to branch master, which mainline already contains. linux-next merges the for-next branch of this repository (Next/Trees). Name that branch in the entry.

---
This is part of a cleanup of all T: entries whose repository HEAD is not where development happens: one patch per repository, sent in small batches. The plan is at [1], and why it goes out in batches at [2].

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 140eafcbbd78..e603835e4744 100644
@@ -15160,7 +15160,7 @@ M:	Petr Mladek <[email protected]>
 R:	Joe Lawrence <[email protected]>
 L:	[email protected]
 S:	Maintained
-T:	git git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git
+T:	git git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git for-next
 F:	Documentation/ABI/testing/sysfs-kernel-livepatch
 F:	Documentation/livepatch/
 F:	arch/powerpc/include/asm/livepatch.h

base-commit: 62f4c998b297cf233997a2b4cd6fc2d2df0319c9

Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 5 lines · Matthias Goergens

The T: entry for LIVE PATCHING names livepatching/livepatching without a branch. The repository's HEAD points to branch master, which mainline already contains. linux-next merges the for-next branch of this repository (Next/Trees). Name that branch in the entry.

Quoted 8 lines

---
This is part of a cleanup of all T: entries whose repository HEAD is not where development happens: one patch per repository, sent in small batches. The plan is at [1], and why it goes out in batches at [2].

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

It seems that the motivation is that "master" is outdated in various projects.

But I maintain livepatching/livepatching.git the following way:

+ "master" branch points to the last merge commit in Linus tree.

+ "linux-next" is based on "master" plus there are merged the "for-X-Y/*" development branches for the next merge window.

As a result, "master" and "linux-next" differ only by the few patches which are in the queue for the next release. I believe that most people actually sent patches based on the "master" branch because they work with the Linus tree.

Note that livepatching is a pretty slowly moving subsystem.

By other worse, I believe that "master" is more appropriate for livepatching.git.

Best Regards,
Petr

Quoted 15 lines
MAINTAINERS +1 -1
index 140eafcbbd78..e603835e4744 100644
@@ -15160,7 +15160,7 @@ M:	Petr Mladek <[email protected]>
 R:	Joe Lawrence <[email protected]>
 L:	[email protected]
 S:	Maintained
-T:	git git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git
+T:	git git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git for-next
 F:	Documentation/ABI/testing/sysfs-kernel-livepatch
 F:	Documentation/livepatch/
 F:	arch/powerpc/include/asm/livepatch.h

base-commit: 62f4c998b297cf233997a2b4cd6fc2d2df0319c9

maintainer
#2 lore raw

Hi,

Quoted 6 lines · Petr Mladek
Quoted 5 lines · Matthias Goergens

The T: entry for LIVE PATCHING names livepatching/livepatching without a branch. The repository's HEAD points to branch master, which mainline already contains. linux-next merges the for-next branch of this repository (Next/Trees). Name that branch in the entry.

Quoted 8 lines
Quoted 8 lines

---
This is part of a cleanup of all T: entries whose repository HEAD is not where development happens: one patch per repository, sent in small batches. The plan is at [1], and why it goes out in batches at [2].

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

what is the main motivation then? The changelog talks about linux-next but that would not be a good reason in my opinion. T: has a link to the repo, not to some arbitrary branch.

The thread above mentions Sashiko. Is that the issue then? Yes, it is sometimes annoying that Sashiko bases reviews on our master branch and disregards patches in for-next branch, but as Petr explains below it is not a serious issue in our tree. There is usually not much happening.

Quoted 15 lines

It seems that the motivation is that "master" is outdated in various projects.

But I maintain livepatching/livepatching.git the following way:

+ "master" branch points to the last merge commit in Linus tree.

+ "linux-next" is based on "master" plus there are merged the "for-X-Y/*" development branches for the next merge window.

As a result, "master" and "linux-next" differ only by the few patches which are in the queue for the next release. I believe that most people actually sent patches based on the "master" branch because they work with the Linus tree.

Quoted 4 lines

Note that livepatching is a pretty slowly moving subsystem.

By other worse, I believe that "master" is more appropriate for livepatching.git.

Agreed.

If it becomes a problem, we should consider
https://korg.docs.kernel.org/gitolite/index.html#symbolic-ref as mentioned in the linked thread above.

Or perhaps have a specific pointer for Sashiko in MAINTAINERS file but that would be more involved.

Miroslav

#3 lore raw

Hi Petr, Miroslav,

You're right: please drop this one, and sorry for the noise.

The motivation was Sashiko, as you guessed: it used to review against the default branch of the tree in T:, which for some trees is far behind what patches are based on. Since 28 September it no longer does that when mainline already contains the default branch; it falls back to linux-next instead, which for livepatching already has the two queued commits. So the patch no longer buys you anything.

Thanks,
Matthias