Doc/stable rules: add new cherry-pick logic
authorSebastian Andrzej Siewior <[email protected]>
Sun, 6 Dec 2009 11:24:31 +0000 (12:24 +0100)
committerGreg Kroah-Hartman <[email protected]>
Wed, 23 Dec 2009 19:23:43 +0000 (11:23 -0800)
- it is possible to submit patches for the stable queue without sending
  them directly [email protected]. If the tag (Cc: [email protected]) is
  available in the sign-off area than hpa's script will filter them into
  the stable mailbox once it hits Linus' tree.
- Patches which require others to be applied first can be also specified.
  This was discussued in http://lkml.org/lkml/2009/11/9/474

Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Cc: Brandon Philips <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Documentation/stable_kernel_rules.txt

index a452227361b18a88d695d203e40e33151f93af89..5effa5bd993bb47fd9d02d4acd7d4e5c75cb6b78 100644 (file)
@@ -26,13 +26,33 @@ Procedure for submitting patches to the -stable tree:
 
  - Send the patch, after verifying that it follows the above rules, to
+ - To have the patch automatically included in the stable tree, add the
+   the tag
+     Cc: [email protected]
+   in the sign-off area. Once the patch is merged it will be applied to
+   the stable tree without anything else needing to be done by the author
+   or subsystem maintainer.
+ - If the patch requires other patches as prerequisites which can be
+   cherry-picked than this can be specified in the following format in
+   the sign-off area:
+
+     Cc: <[email protected]> # .32.x: a1f84a3: sched: Check for idle
+     Cc: <[email protected]> # .32.x: 1b9508f: sched: Rate-limit newidle
+     Cc: <[email protected]> # .32.x: fd21073: sched: Fix affinity logic
+     Cc: <[email protected]> # .32.x
+    Signed-off-by: Ingo Molnar <[email protected]>
+
+   The tag sequence has the meaning of:
+     git cherry-pick a1f84a3
+     git cherry-pick 1b9508f
+     git cherry-pick fd21073
+     git cherry-pick <this commit>
+
  - The sender will receive an ACK when the patch has been accepted into the
    queue, or a NAK if the patch is rejected.  This response might take a few
    days, according to the developer's schedules.
  - If accepted, the patch will be added to the -stable queue, for review by
    other developers and by the relevant subsystem maintainer.
- - If the [email protected] address is added to a patch, when it goes into
-   Linus's tree it will automatically be emailed to the stable team.
  - Security patches should not be sent to this alias, but instead to the
    documented [email protected] address.