kernel recipes 2015: the stable linux kernel tree - 10 years of insanity

26
The Stable Linux Kernel Tree 10 years of insanity Greg Kroah-Hartman [email protected] github.com/gregkh/stable-presentation

Upload: anne-nicolas

Post on 09-Jan-2017

989 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

The Stable Linux Kernel Tree

10 years of insanity

Greg [email protected]

github.com/gregkh/stable-presentation

Page 2: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

19 years ago...

Page 3: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

Linux 2.0.0

Page 4: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

4 months later:

Linux 2.1.0

Page 5: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

Even number stableOdd number development

Linux branches

Page 6: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

848 days and 141 releases later...

Page 7: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

Linux 2.2.0

Page 8: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

4 months later:

Linux 2.3.0

Page 9: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

604 days and 58 releases later...

Page 10: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

Linux 2.4.0

Page 11: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

10 months later:

Linux 2.5.0

Page 12: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

1057 days and 86 releases later...

Page 13: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

Linux 2.6.0

Page 14: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity
Page 15: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

New release every 2 ½ months

Page 16: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

From: Linus Torvalds <[email protected]>Subject: Re: RFD: Kernel release numberingDate: 2005-03-03 16:23:39 UTC

I'll tell you what the problem is: I don't think you'll find anybody to do the parallel "only trivial patches" tree. They'll go crazy in a couple of weeks. Why? Because it's a _damn_ hard problem. Where do you draw the line? What's an acceptable patch? And if you get it wrong, people will complain _very_ loudly, since by now you've "promised" them a kernel that is better than the mainline. In other words: there's almost zero glory, there are no interesting problems, and there will absolutely be people who claim that you're a dick-head and worse, probably on a weekly basis.

Anybody?

Page 17: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

From: Greg KH <[email protected]>Subject: Re: RFD: Kernel release numberingDate: 2005-03-03 16:43:53 GMT

> Anybody?

Well, I'm one person who has said that this would be a very tough problem to solve. And hey, I like tough problems, so I'll volunteer to start this. If I burn out, I'll take the responsibility of finding someone else to take it over.

Page 18: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

From: Chris Wright <[email protected]>Subject: Re: RFD: Kernel release numberingDate: 2005-03-03 16:55:33 GMT

> Anybody?

Andres Salomon (-as patches) and I have been talking about that at least regarding security fixes. It's worth trying in a more complete andformalized way. Guess I can be branded a sucker :)

Page 19: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity
Page 20: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

“Longterm kernels”

One picked per yearMaintained for two years

3.10 3.14 4.1

2.6.20 to 2.6.24-rc8

Page 21: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

2.6.20 to 2.6.24-rc8

Page 22: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

stable_kernel_rules.txt

2.6.20 to 2.6.24-rc8

obviously correct and testednot bigger than 100 linesmust fix only one thingmust fix a real bugmust fix a real problemnew device ids and quirksmust be in Linus's tree already

Page 23: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

stable_kernel_rules.txt

2.6.20 to 2.6.24-rc8

"Cc: <[email protected]>" to the Signed-off-by: area of the patch

or

send git id to [email protected]

Page 24: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity

Review cycle

2.6.20 to 2.6.24-rc8

Patches are sent to maintainers and authors

48-72 hour review

Page 25: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity
Page 26: Kernel Recipes 2015: The stable Linux Kernel Tree - 10 years of insanity