lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090419233518.GA765@elte.hu>
Date:	Mon, 20 Apr 2009 01:35:18 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Jeff Garzik <jeff@...zik.org>
Cc:	James Bottomley <James.Bottomley@...senPartnership.com>,
	LKML <linux-kernel@...r.kernel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...ux.intel.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 00/14] convert voyager over to the x86 quirks model


* Jeff Garzik <jeff@...zik.org> wrote:

> Ingo Molnar wrote:
>> * Ingo Molnar <mingo@...e.hu> wrote:
>>
>>> * James Bottomley <James.Bottomley@...senPartnership.com> wrote:
>>>
>>>>  39 files changed, 554 insertions(+), 726 deletions(-)
>>> That diffstat is not against current mainline, is it? Would you mind 
>>> to send a proper diffstat with the revert included as well? That will 
>>> give us a complete picture.
>>
>> ok, i did the calculations, and the effect of adding back x86/Voyager 
>> is roughly:
>>
>>    48 files changed, 5226 insertions(+), 142 deletions(-)
>>
>> That's quite a lot, and lets put this into perspective.
>>
>> You are talking about moving ~5000 lines of legacy code back into  
>> arch/x86/, for a total of *four* Voyager/Linux systems, which are  
>> using _ancient_ 486/P5 era CPUs.
>>
>> Two of these systems are in your house, two are somewhere unknown:  
>> their owners certainly never sent bugreports against recent mainline  
>> kernels (Voyager didnt even _build_ for a couple of straight kernel  
>> releases), and i suspect those boxes are probably decommissioned  
>> already.
>>
>> A single core on my run-of-the-mill x86 laptop has more computing  
>> power than all Voyager/Linux systems on the planet, combined. And you 
>> now want to add back support to the mainline arch/x86 code, which we 
>> are trying hard to keep running on millions of x86 Linux systems?
>>
>> You still have not given proper justification for doing that ...
>>
>> Sorry to be the one to say 'no', but the reasons you gave so far were 
>> not very convincing to me.
>>  Anyway, you seem to be willing to maintain this code it out of tree.  
>> If someone owns such an ancient Voyager box and wants to test a new  
>> kernel then your tree is a good starting point for doing that. There's 
>> really no pressing need to have this in mainline.
>
> That argument is more than a little unfair, Ingo.  Voyager support 
> used to be in mainline.

The last time it built fine upstream was v2.6.26.0. After that:

  v2.6.27.0:   Voyager was broken - it did not even build.
  v2.6.28.0:   Voyager was broken - it did not even build.
  v2.6.29-rc5: Voyager was broken - it did not even build.

... which was the point when we yanked it from the x86 devel tree.

... at which time (after i Cc:-ed James Bottomley on the yanking) he 
sent us the fix which we pulled - so v2.6.29 finally built. (But 
even up to v2.6.27 Voyager was a rocky road - with regressions and 
late fixes.)

Anyway, that long window of breakage has really proven the most 
important fact: that no user really cares about x86/Voyager anymore.

> It got yanked, and now you are adding all sorts of barriers for 
> its re-inclusion?

It got yanked due to multiple releases with problems related to the 
Voyager code - in the final ~3 development cycles it did not even 
build.

Regarding the new x86/Voyager submission: architecture or core 
kernel level code always has a higher barrier of entry than driver 
code for a number of good reasons:

 - Technical isolation between bits is not as strong (it's easy to
   slap in a new driver into drivers/ with virtually no cost to
   driver core maintainers - while arch/x86 related problems 
   interact a lot more)

 - Regressions are more difficult (and most costly) to resolve,
   and affect more people

Architecture bits have an _even higher_ barrier of entry when a 
known-problematic piece of code is re-submitted. I mean, without a 
stronger case than we have now it would be irresponsible for me to 
apply it - and James refuses to state a stronger case.

This is about the most widely used Linux architecture and we must 
keep it maintainable. We've got enough other obsolete pieces of x86 
code that we have to worry about. (We'll probably remove other 
obsolete subarchitectures as well in the future, should they prove 
similarly problematic.)

So i'm saying 'no' here, and i am NAK-ing its inclusion based on 
past patterns of breakage and based on the utter irrelevance of a 
~133 Mhz Pentium based system for which only two existing instances 
are known that have booted any recent kernel. If the code is 
absolutely trouble-free out of tree, for an equivalent amount of 
time (3 kernel releases or so), and gathers users/testers/etc., then 
we might add it, after a thorough technical review. Not sooner than 
that really. Meanwhile if James does not want to maintain it out of 
tree he can ask Linus to overrule our NAK, but i'd like to ask him 
to quote this NAK paragraph from me in his mail to Linus.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ