1854 points · by Valmar · 8y ago · 656 comments
Furthermore, we are left to wonder if Microsoft is also being fed “bullshit” patches, and if they may be less discerning than Linus regarding a proper solution.
> The whole IBRS_ALL feature to me very clearly says "Intel is not serious about this, we'll have a ugly hack that will be so expensive that we don't want to enable it by default, because that would look bad in benchmarks".
> So instead they try to push the garbage down to us. And they are doing it entirely wrong, even from a technical standpoint."
Disabling unsafe behaviour for good on current chips and removing it from future ones would be equally easy, and clearly it isn't Intel's intent.
Plausible reasons, apart from looking good in benchmarks, include ease of access for their three-letter friends and not bothering with the cost of designing safe and high performance processors.
Very specific model - The Bug
I am reminded that Linus has experience in the CPU industry (Transmeta), so he is in a position to see both sides on this.
https://en.wikipedia.org/wiki/Hanlon%27s_razor#Similar_quota...
"And that's actually ignoring the much _worse_ issue, namely that the whole hardware interface is literally mis-designed by morons."
Maybe you missed this line? Some classic Linus right there...
The Meltdown work at Google probably didn't begin with a rant about morons.
It's possible to construct a culture where people can air grievances and criticize others without inducing flame wars. It only works for Linus because people won't go nuclear in the response, but for rank and file engineers, especially of equal stature, if you call someone a moron in a thread, it's likely to kill productivity and create a negative testosterone ladden atmosphere of people trying to avoid being wrong, and counter attacking others.
I've worked at a lot of places where engineer got into heated shouting matches. It's is not a way to increase the probability of zeroing in on a problem, or reaching agreement faster.
Linus is valuable precisely because he occasionally d-slaps people around, waking them up, even when what he says may be factually wrong, and reminding them the at the core the tech must be sane, f people and their feelings!
Yeah, it's good to have a 1 in 1000 brilliant people being aholes because it keeps the culture balanced. We need a dose of rascality, and Linus can afford to embody it and seems to like doing it, and he's also good at fixing the consequences of his rants by being reasonable afterwards.
(If we're mature enough to accept that this can only be accepted of 1 in 1000 people or something like that, and that obviously not all people are born equal, we can move on and enjoy life.)
The first is the personal attack when he calls Intel engineers morons. That 1 little unnecessary addon is uncalled for because it's quite reasonable that there's a lot of politics going on at Intel that's interfering with the engineering work. Could be that the next chip they're taping out can't be fixed properly without delaying & impacting revenue in a way that execs won't allow. Could be that there's legal reasons whereby Intel's "fix" is desirable from a management perspective to continue their denial of a problem with their chips to win or reduce the costs of the class actions. Or it could be any number of a hundred other reasons that the public isn't privy to.
The second, & this is pure speculation on my part that this didn't happen, is that he should have followed this in an offline discussion with the engineer. This public shaming doesn't do any good & just entrenches the frontline representatives of Intel to be antagonistic with Linus rather than to be his allies. I feel like if Linus wanted to be truly effective here in impacting Intel's direction (especially given their constant need to minimize the scale & scope of this problem) he could have followed up with the engineer off-list & gone "your explanation doesn't make any sense. can you clue me in on what's the motivation behind this approach?". It saves the engineer public embarrassment, it gets him an ally within Intel & it lets him have strategic information on what is motivating Intel engineers (consider - did his finger to nVidia in any way improve relations between Linux & nVidia?). Now if he did that & the answer still wasn't OK then he's free to use his bully pulpit as he wishes, but I suspect it was just instinctive & a build up of his frustration with Intel's handling of this whole matter.
If that is really the case, then calling the engineers morons is actually very much called for!
Its worked so far.
Purely anecdotal evidence, but in my experience the few pieces of hardware that I can generally bet they'll be fine with Linux are those branded Intel or NVidia (one may argue about the "optimus" thing, but if you want CUDA on a Linux laptop, nvidia's drivers do their job fine in the end, and this is what most Linux users will care about I guess)
Dunno the mechanics of it, but some things did work up just right about this :)
He may be technically correct in his assessment of the quality of the patches (I lack the necessary knowledge to even begin to assess it), but he does not go about explaining this in a sensible manner. He has never fostered a collaborative, inclusive atmosphere around the kernel.
If anybody at my workplace talked to a collaborator in that way they'd be in a chat with their manager minutes later, and if they persisted they'd be in a chat with HR.
For all that has been accomplished with the Linux kernel - and these achievements are huge and numerous and extremely impressive - I do wonder how much better things might have been if Linus was capable of criticising something without calling anybody a moron, swearing or throwing things.
What was in that email that needed that kind of language and tone? What could not have been said with a simple "I will not accept these patches" followed by a calm and dispassionate assessment of his issues with them? There's such an assessment in there somewhere, he's clearly thought it through, but one has to wade through the vitriol in order to get there. This is inefficient as well as hostile to contributors.
And these are people the community depends on for support, so we can run Linux on their products.
A sensible mail discussing the details of some obscure technicality doesn't make HN frontpage.
An "inclusive atmosphere" is irrelevant. Pointless. I'd personally say it's counter-productive. There's no scenario where Torvalds' response is going to result in Intel abandoning the Linux ecosystem. The engineers at Intel can now go back to their managers and say "okay, we tried cutting corners and it didn't work."
That's a very dangerous and messed up reasoning. For a significant proportion of the population "society" is just a nasty scheme we put up with since we know not better way of not killing each other or exterminating ourselves as a species... Having to contort and torture one's personality just so you can be "socially adept" is a great pain, and when one occasionally gets away with being able not to do this it's NOT "a personality flaw".
One ought to care firstly for developing his/her personality in whichever way himself sees fit. If it doesn't fit well with society it's not a "flaw"!
(Yeah, if goes overboard and results in a team totally breaking up... even that is not a big deal! Some companies are worth breaking up into pieces. Heck, as long as people aren't literally killing each other it's still not "a flaw". Stop being insensitive and discriminating against people with other notions of relating themselves with the thinggy we call "society" and perpetuating this oppressive culture of admonishing people for being "socially inept". Maybe those people have something better to do with their lives!)
The response is shockingly adult, given the culture Linus insists on trying to push:
http://lkml.iu.edu/hypermail/linux/kernel/1801.2/05282.html
What an excellent writeup, despite the tantrum Linus threw just a few replies earlier.
I'd highly recommend only reading the response and avoiding the Linus 'rant'. The rant contains no valuable information, the response is excellent and far more informative.
I'm sure I'll get downvoted though for calling Linus a baby, because somehow insulting Linus for his flaws is never ok but when Linus does it it's so cool!
Some snippets from the response:
> since the peanut gallery is paying lots of attention it's probably worth explaining it a little more for their benefit
> not just drop it quietly because poor Davey is too scared that Linus might shout at him again
> If we can be done with the shouty part, I'd actually quite like to have a sensible discussion
None of this is adult. I'm not directly defending Linus' tone, or claiming that he's "more adult", but derogating and condescending the audience reading these public posts (1st quote), making cheap jokes about Linus' behaviour (2nd quote) and directly insulting Linus (3rd quote) is not what I would define as an "adult" response. Linus' email at least only gets angry and offensive while critiquing the code, and doesn't get personal.
> The rant contains no valuable information, the response is excellent and far more informative
Linus' "rant" informed me that Intel are setting IBRS as a default-off feature that must be asked for - offloading responsibility for security to the software. The response opens by condescending me, tells me that IBRS is expensive (we know), retpoline is performant, and the informativeness seems to stop there.
It then posits that as somehow justifying the offloading of said responsibility with the following:
> Then along came Paul with the cunning plan of "oh, indirect branches can be exploited? Screw it, let's not have any of those then", which is retpoline.
> But wait, why did I say "mostly"? Well, not everyone has a retpoline compiler yet... but OK, screw them; they need to update.
"Screw them" is the crux of his answer to Linus' concerns. Sorry, how is this in any way an adult response?
Really? The long technical explanation, with the word "shouty" is not adult? The plea for sensible discussion?
Your post isn't worth responding to beyond that. You've taken extreme liberties in your reading of his response. "Directly insulting Linus" lmfao are you fucking kidding me? You're calling "shouty" as directly insulting, when it's a response to "Fucking morons" writing "garbage" code? This is disingenuous at best if not willfully ignorant.
Cheap jokes about Linus's behavior?????
Seriously, take a step back and realize the loops you're jumping through to try to somehow justify Linus's behavior by attacking a reasoned response to it.
I linked to a far more informative post that actually discusses a technical issue. Frankly, the response should have been what was linked on HN, not some rant.
I can't believe the irony of telling me to "chill out" with personal attacks when commenting on a rant that is majority perosnal attacks.
The issue occurs if you're not bulletproof on your position and then get too caught up on 'winning the argument' rather than solving the problem at hand.
This is why it's typically best to leave the theatrics aside unless absolutely necessary.
I'm pretty sure people aren't up in arms about Linus being a baby, but about your refusal to call out people on "subpar performance". Replace "subpar performance" with whatever you feel is an acceptable name for executing wrongly on very bad ideas.
And I feel like you might get downvoted because if there is one thing I HATE about companies, it's that people responding like this always get rewarded.
1) fuck up beyond belief (or just be assigned to a critical project and do nothing)
2) talk about the problem with everyone, without, of course, without fixing anything
3) inflict massive costs on everyone else because of the sudden urgent necessity of fixing your problem
4) get insane rewards for this
And I for one call statements such as the one from the top post here "optimism at it's finest":
> if you call someone a moron in a thread, it's likely to kill productivity and create a negative testosterone ladden atmosphere of people trying to avoid being wrong, and counter attacking others.
Unfortunately, corporate America is FULL, and I mean overloaded to the brim with people who will never admit the slightest mistake, and explode at anyone implying they made a subpar decision.
This attitude to "avoid blame" then proceeds to turn disaster into outright catastrophe. Many of these people who make some level of mistakes will see that not only can they get away with it, but aggressively attacking others for their mistakes comes with great rewards.
I have personally worked with several well known people in my field, who have climbed up the ladder this way. It isn't just that they didn't contribute, but they made great mistakes, both on the technical front (taking disastrous architectural decisions and forcing them through, despite agreement that there were very wrong), and on the financial front (doing budget allocations based on what THEY KNEW was a lost cause, and refusing to admit any fault or change course).
Once it does become clear that a disastrous mistake was made and propagated, and 90% of the budget was already spent (actually more like 150% in both cases), and none of the outcomes promised will be achieved, they then help organise a "code red", a "emergency sprint", an "extra effort", ... to "fix" things. But things are never fixed. Everyone is worse off, and will be for years.
The first few times this happens, these people are then rewarded. Promoted, in both cases. And of course, we are currently in the process of repeating one of these huge mistakes. Last time I so much as asked why this decision was made the guy very enthousiastically gave an answer, and I thought we both agreed it wasn't a good answer.
An hour later my manager asks to urgently see me.
A day later my director urgently called my manager and me to see him.
A week later we went to discuss "safety" with HR. (because of the 10 people thing, I'm sure, read on)
And yet, everybody, and I do mean everybody, knows this is a bad idea. However, having 50 people work for 1.5 years on a bad idea ... well those 50 people call it "a job", and nobody's going to be risking their career on calling this guy out any further (even if I did get 10 of them to walk into that director's office telling him that I did nothing wrong and that it's a bad idea).
But no worries ... no blame. We're still executing on that idea.
Finally, reading that thread further, it does seem like Linus's rant was a little premature & mistaken. David really handles it well & explains in detail in what way Linus may be misunderstanding what's going on. It's hard to know if that response mollified Linus or if he still thinks it's bunk & that thread was just taken offline so that it wouldn't have the noise of useless spectators chiming in, but it seemed like Ingo was perhaps satisfied & moved the conversation back to a way to solve the Skylake problem in a maintainable & clean way without the undesirable implementation that was originally proposed (you know, the whole point of an RFC). An RFC typically means they were looking for feedback & discussion not getting yelled at, especially for things outside their control. That being said, I certainly understand how frustrated everyone is with this given the amount of work that's been put into this by everyone.
Engineering culture is fundamentally about learning from mistakes (either as a community or individually). We can't fear them & there are limits to how much you can go to prevent making them before you just get decision paralysis. For that reason mea culpas are also unproductive. You should acknowledge your actions & your role in it - if you think you behaved incorrectly then of course apologize if you want to - but the person would made mistakes is just as much a victim of their environment as others (i.e. if I threw you into their position without the benefit of hindsight, would you do necessarily do a better job?) Yes corporate America has issues (as does every human endeavour btw) but I'm not convinced that in any way has to do anything with this discussion.
I dream of working on something where the criticism is so honest. Where I don’t have to read between the lines to understand how big of a deal a person considers an issue. Pussyfooting to lessen the blow benefits no one in the long run.
I often end up running my code reviews by other people first to make sure they’re gentle enough because I know people are overly sensitive/attached to their work. It’s a stupid dance and such a waste of everyone’s time. If we could just be honest with each other we could build great things.
I single handledly blame this culture of being nice instead of honest on the total undeniable loss of software qualified across the industry.
It’s never going to be nice to hear.
In lessening the blow you lose the message. You lose the true meaning. You lie.
Funnily the first core value is focus on the user. Almost no one there ever cares or thinks from the perspective of the user in decision making. Users are incidental to the things that happen there.
Kool-aid much?!
Let Linus swear a little and suddenly those roles are entirely reversed? Really?
There is no separating out corporate culture from the fact that it is a corporation. FOSS is not a for profit corporation. Expecting it to function like one is not reasonable. Trying to impose corporate culture as the standard for FOSS is not only not reasonable, it is counterproductive.
If you want corporate software, cool. But if you want FOSS to exist at all, there has to be a fundamental acceptance of the fact that it will have a different culture and a different process.
I will add that his cussing spree here is in response to a for profit corporation trying to shit all over his project. But, hey, must be totes okay for them to shit on it since they didn't use any cuss words or raise their voice.
There is your so called corporate etiquette right there.
See the bashcoder thread for a more hardnose analysis of this article, Torvalds and Intel: https://news.ycombinator.com/item?id=16202539
Simply calling something garbage doesn't elicit change, our political system is the perfect example of that. It creates polarization which, due to human nature, makes can make people less motivated to work with you.
There's no even any evidence Intel did anything wrong. For decades, the market demanded performance, and VM based cloud computing was created long after speculative execution became an industry wide (not just Intel) optimization. The way we use CPUs has changed, our OSes have changed, the threat model has changed, and the sophistication of attacks has changed.
Future CPUs need to be designed from the ground up with modern cloud computing in mind and that's going to take 2 years at least given industry cycles. What do we do in the meantime with our current silicon is the question. Intel seems like they're trying to do the right think by handling failures in retpoline to offer full protection.
But maybe the conspiracies are right, but when has an accusation of some conspiratorial behavior ever been solved by people yelling and screaming moron and garbage?
It's just not the right way to perform an investigation IMHO.
I’m not defending Linus per se, but he do have a really unique position and it’s probably not easy to be in that position and AFAIKT it works. Maybe if it would have been someone else the world would look, most probably, rather different.
It’s really easy to criticize, but frankly none of us knows how it is to be in his situation and I guess he has to deal with his fair share of trolls, morons and energy thieves.
This is not to say that Linus’ behavior is a good model for “how engineers should generally behave”. It just isn’t, and anyone behaving this way in a company should almost certainly be fired. I think he’d probably agree, to boot. But I could be wrong about that.
P.S. I hope I don’t come across with disagreeing with you about any of what you think tech “should” be. I totally agree with you.
Does he owe you anything? Are you co-workers? Are you in his employ? It´s FOSS. If you don´t like it, walk away. The Linux kernel is his creation, his baby, and he runs the show. You don´t like his behavior? You don´t like his attitude? Fork the code, make your own mailinglist, get a bunch of people to submit patches, and knock yourself out.
I get that he is a "public figure in tech" and all that, but he owes you nothing - I failed to read the memo where he declared to act as a figurehead for proper behavior, or where he agreed to be an example or anything like that.
I work at one of those "major tech companies", and I can assure you that people call things garbage with regularly.
I would recommend reading this response.
Here are some great excerpts:
> That's why my initial idea, as implemented in this RFC patchset, was to stick with IBRS on Skylake, and use retpoline everywhere else. I'll give you "garbage patches", but they weren't being "just mindlessly sent around". If we're going to drop IBRS support and accept the caveats, then let's do it as a conscious decision having seen what it would look like, not just drop it quietly because poor Davey is too scared that Linus might shout at him again. :)
> If we can be done with the shouty part, I'd actually quite like to have a sensible discussion about when, if ever, we do IBPB on context switch (ptraceability and dumpable have both been suggested) and when, if ever, we set STIPB in userspace.
Those seem relevant to the thread. That said - it's really a good read for a technical overview of the issues and patches.
Possibly, but I don't think that arguments, even heated ones, aren't without benefits that may not be otherwise obtainable. Arguments require passion and commitment, you have to care about something to get heated over it face-to-face and when you, as an adult, get upset over something you are putting your reputation on the line to some extent. This motivates some people.
This provokes an interesting question-does googles desire for a very... harmonious work environment have any relationship with their reputation for project ADD?
For me, one of the more difficult type of engineers to work with aren't people low in tech skills or other traditional lacking, but engineers who can't deal with failings generated by other people, in a rational and civilised manner.
Anyone building anything of modicum importance is going to fail. Moreover, failures can be institutional, i.e any process or lack of process, which significantly increases the chances of failure. These have to be dealt with at an institutional level. If the failure is personal, I.e caused by traits specific to the person, can it be resolved by having a better feedback loop. Many reasons to be angry but very few to express it in a confrontational manner. I have many brilliant friends I wouldn’t work with for the above reason.
I've worked at a lot of places with different cultures. You don't need "Google culture" to not work with assholes.
> I've worked at a lot of places where engineer got into heated shouting matches. It's is not a way to increase the probability of zeroing in on a problem, or reaching agreement faster.
That hasn't been my experience. A boss at a previous job and I often had heated discussions about technologies and direction. It worked for us. We came to great solutions that neither of us started advocating. Years after I left, we are still good friends.
One lady we worked with started keeping a nerf gun on her desk if we got too close to her while arguing. This was the problem for me.
It wasn't good for us to fall back on raised voices to accomplish discussion. It accomplished the goals, but it did it in a way that was bad for our psyche. Even if we are both willing participants in that, we were effecting others who were both not willing participants AND unwilling to speak up because we were both her senior.
So I say fuck that. There is a way to say what needs to be said without being an asshole or spending time trying to make it politically correct. You just have to say the core of what you are trying to say, without the asshole flair attached to it.
"So somebody isn't telling the truth here. Somebody is pushing complete garbage for unclear reasons" - maybe the patches are bad. Or maybe there is an undisclosed vulnerability (like https://skyfallattack.com/ ?) that needs this "garbage" to mitigate it, and no-one got Linus properly in the loop. If it's the latter, all this shouting and cursing about "They do things that do not make sense" has likely attracted the attention of people interested in such things...
Here we go.
>> All Linus needs to do is say something like
And all you need to do is be that nice and be as brilliant as Linus is.
Oh, it's harder to be that smart than it is to be that nice? Maybe consider that for people as highly gifted as Linus, it actually isn't.
What you take for granted as normal behavior isn't always normal to others, especially those at the outliers of skill and intelligence.
In fact, the idea that you’re even bringing up such minor language at such a time really disappoints me.
Sometimes this is actually necessary to get heard, and have the issue taken seriously. It helps providing the feedback that something REALLY wrong just happened and needs to be addressed immediately.
Imagine a sergeant talking to a trainee. What's the most efficient ?
- "Dear soldier, I think the way you handle your weapon is going to get you killed in a few moment. You should probably change that appropriately. If I may provide you this advice, of corse."
- "Stop this shit now! You're going to shoot yourself!"
When I read his reply, I could feel the pain. I imagined I would reply back to him and say "well fuck you too." When I finished reading the email, regardless of who is more right or more wrong, I can understand and feel his frustration. I would absolutely go mad if someone messes with something I care about, and then have the guts to do fact checks.
But I still think there is room to offer an olive branch, honestly. But given how busy he is, and how many shitty patches they get, I can understand his frustration.
That being said, it almost seems like no one other than him, can do a better job in keeping up with the quality if he has to be the one yelling all the time. When Linus is no longer involved (for any reasons), can Linux kernel project continues to have quality code?
A couple years ago Linus shared his views on insult: respect should be earned. https://www.youtube.com/watch?v=JZ017D_JOPY
Worth watching.
Let's not highlight this nonsense hoax. It isn't how embargoes work and is obviously people just trying to jump on the hype train.
And in the unlikely event that your theory regarding undisclosed vulnerabilities is true, this will certainly make them think twice about leaving Linus out of the loop again, no?
This is not clear enough and could be interpreted as incompetence on the part of the speaker
It appears much less sinister than Linus was insinuating, but Linus has yet to reply.
1: http://lkml.iu.edu/hypermail/linux/kernel/1801.2/05282.html
But that's a separate topic. As I explicitly said, I limited that answer to the things we can do on current hardware.
*[1] Correction, I thought (as does Google) that he still worked at Intel, but it was pointed out that he now works at Amazon UK.
Edit: Just to make this clearer you can see his email in the Signed-off-by of the patch under discussion: https://lkml.org/lkml/2018/1/20/163
* Intel Corporation - Linux Kernel Engineer - Employed Jun 2008 – Oct 2016 - Employment Duration 8 yrs 5 mos
Source: LinkedIn - https://www.linkedin.com/in/dwmw2/
Note: Also, this is not and please do not turn this into a personal witch-hunt or anything like that, I am just adding context / clarification as to the mailing list thread.
Its actually possible to find thoughtful commentary on most any subject, without suffering jerks.
As the primary kernel developer, the amount of crap he has to deal with gives him broad levity IMO.
I've worked with engineers across many fields over my ~35 years of working. When they're ripping you a new one, you pretty much always deserve it.
Putting shit on a plate is being a jerk, because you're not only wasting your time, you're wasting his time as well.
A thoughtful comment would have illuminated the issue, explained why the fixes were too broad or not specific enough, and how they could be improved.
The average person is insecure about more advanced details of tech topics, yet still needs to use laptops and smartphones to survive in modern society. That is the vast majority of people, and those are the people you should be the most worried about, because those people decide whether Intel will ultimately get away with this or not.
And honestly, with that in mind your remark looks like a thinly-veiled snobbish remark about how you don't fall for any of that.
Intel & friends have absolutely disgusted me lately, it could be all to easy to settle for less based on their standards, but let’s not let them set the standard - they’ve shown they can’t be trusted with quality and when they fail - they can’t be trusted to be transparent or even take ownership of the problems they create.
Many business failures i've witnessed happened ultimately because nobody had the energy to cut down the bullshit forest that constantly regrows around a company.
It also requires the social capital necessary for the calls to be taken seriously.
I don't worry about Linus being silenced by prevailing culture; I worry that there won't be another Linus after him.
I've worked at a company that had 20 people and a company that's had 5000 and some ones in between.
Going from 2-3 people to 20 is pretty manageable. Everyone knows each other, work gets done, you can call people out on their bullshit, stuff is fixed, because everyone feels responsible and accountable.
Then you go to 100 people and a few of the original 20 leave and the whole culture changes. 1000's of people? Totally different ball game. Incompetence will slip through, no single person has a full grasp on everything, meetings and more meetings and more managers playing broken telephone all day and you got people in different cities and time zones and countries who've never seen each other face-to-face and it's just a nightmare to manage that.
It can be done, but that's when you really need competent managers, and those are extremely hard to come by.
I'm sure there are teams and divisions within Intel that are extremely competent, people at the top of their game who are looking at this debacle and just shaking their heads just as much as Linus.
Now, however, it's nearly worthless. Anyone can do distribution, both of work and of end products, with very little effort thanks to computers and the Internet. Now, the limitations of those corporate structures are starting to cut deeper and not be compensated for. Their assumption of all of the tremendous failings of in-person human communication (that 'broken telephone' you mention is only part of it, there's also the inherent prejudices and irrational means of influence at play which are inescapable) in combination with both voluntarily abandoning essentially every single benefit they ever offered to employees and the inherent limitations in such a centralized structure will result in them falling apart. I mean, if the market has anything to say about it. Back when factories got big people accepted things like limitations in variety of goods, limited to nil personalization, etc because supporting those things was difficult for factories. Such is still difficult for large companies. They have executives who want to impress 'grand visions' upon the company so that they have some excuse (both personal and professional) to collect such absurdly overlarge compensation.
The human brain, by the way, is limited to keeping around 150 people in mind and maintaining stable relationships with them. It's called 'Dunbar's Number' and while there's certainly variation amongst different people with regard to it, I think we can safely presume there is no one with the ability to maintain and consider 1000+ stable relationships. That this is not reflected in our social structures is probably an error.
Which is why FOSS is so important. Can you imagine a world where Linux was closed source? You’d never have any insight into security patches, or these discussions.
FOSS is nice, but it's not a silver bullet. In this case I think Linus is largely to thank. Things will be a lot harder if he decides to retire.
> Many business failures i've witnessed happened ultimately because nobody had the energy to cut down the bullshit forest that constantly regrows around a company.
The sad thing is that people have unironically labeled Linus "toxic" for calling out crap very bluntly like this.
While I think you've also been bitten by the "we accept everyone! (who thinks the way we do)" crowd as well, this is not the place or the way to express that frustration.
Damn you, Wintel!
It's a sad thing to say about the state of the human specie.
That directness is generally associated with multicultural environments where subtler context-dependent communication simply does not work. Some of the quotes I am seeing here from him are things I think are unnecessarily harsh, but most are not.
Discussions about something he has said or written seem to inevitably comment on his speaking style and divide up between those who praise it and those who vilify it. I feel it is mostly a positive, but discussions could benefit from a little context and broader perspective of that detail.
However, Finland is culturally quite homogeneous, so I think the reason behind the bluntness is not what you suggest it may be.
For a Finn, I think Linus is on the blunt side, but he's not an extreme case. In fact, I'd argue he's not an extreme case even among non-Finns; it's just that most people only hear about his rants.
Also, I find that Linus is somewhat quick to judge things, and often his reactions are based on a misunderstanding of the facts.
https://en.m.wikipedia.org/wiki/High-context_and_low-context...
Maybe he just is what he is. The differences between individuals are greater than differences between cultures. I'm from Finland and I can assure you that Linus' style of communication is not a norm here.
I've heard this blunt(/direct/honest) argument quite often (and the same about my country, The Netherlands), but I've also seen Americans in IT who can be very blunt. I attribute it not to country_of_origin, but to the [autism] spectrum.
I used to try to be tactful with everything I would say, but that ended up in a 4 hour discussion / argument with someone who was digging in their heels about something they were wrong about. Huge waste of time and energy. It would blow a whole day.
When someone is being blunt with me, I take the time to make sure my response is clear and concise. It certainly has it's advantages. I try to keep the swears to a minimum. I'm not a drill sergeant, but I definitely make my point clearly and forcefully.
FWIW, I save the bluntness for important stuff.
Anytime someone suggests that my directness means I must be autistic, they are a) making a faux polite personal attack that calls me a social retard and b) looking for an excuse to ignore and dismiss the substance of my points. I don't consider it to be a good faith form of engagement.
Please stop. It's unhealthy to pretend that undesired behaviors in IT are generally the result of autism. It perpetuates an unhealthy culture by essentially saying that guys (because it's only guys who are excused this way) in IT are not responsible for their behavior. It's also insulting to people with autism to lump their legitimate social difficulties in with people who are simply choosing to be assholes.
If a salesperson or marketer or artist or executive is blunt/rude/an asshole, no one assumes it's because they're autistic. It's assumed that this is part of their personality, because they find it more effective to communicate this way (or in some cases, that they're simply bullies).
There is no indication I see that Torvalds is autistic. He's certainly not socially awkward. He manages an organization of thousands of contributors very effectively. If he's blunt or rude, it's because he chooses to be.
I'm probably still too verbose (ha... "probably"... I flatter myself), but I went through a phase in my late teens and early twenties where I qualified and wrapped in polite circumlocutions everything I wrote. It makes in incomprehensible, honestly, and it doesn't work anyhow. I still got flamed. (Good ol' Usenet.)
There's a time and a place for politeness. That time and place is most times and most places. There's a time and a place for directness, bluntness, and even outright impoliteness; I'd submit "Intel is just going to leave a critical vulnerability in basically every CPU in the world, and throw up an obfuscating cover of flags and workarounds and PR to try to pretend otherwise" is a reasonable time for those things.
(Personally, I don't expect miracles. Intel ought to come out and say "Look, this is going to take some years. Here's some workarounds in the meantime, and here's our plan going forward." I think everyone who understands the situation understands that a true fix is very difficult. But if it looks like they're going to try to skate by on some weak workarounds and a heavy dollop of PR, the industry as a whole really needs to pushback, not just Linus.)
Anyway, this argument comes up again and again. Regardless of the style in his country and language or origin he is writing in English, in public, for an international audience. One expects a different sort of tone.
I don't think I can agree with that statement :) I'm part of the target audience and that tone is _exactly_ what I'd expect instead of polite talk that dances around calling out BS for what it is.
I agree that this is true, but two points stick out to me:
1. Generally the motive for this convention stems from organizations wanting to sanitize their image.
2. FOSS project communication is overwhelmingly pubic.
If we accept that all organizations need some amount of blunt communication at some point, and if we accept that public bluntness has so far not had a measurable negative perception impact for Linux, then it seems inevitable that the project will be an exception to expectations.
I also see Intel lawyers working overtime, closely interacting with marketing, to somehow ward of lawsuits coming from Google, Microsoft, Amazon, which must be seeking ways out of Intel contracts to turn towards AMD processors for their currently more attractive TCO characteristics.
Could be the end of Intel as we know it.
...but irrespective of that, it ALSO appears that there's no leadership within Intel to actually fix the underlying issue.
I don't care if the PR is BS - that's what I expect. But if the chips are not fixed the right way, I'm taking my business elsewhere, and I'm not alone.
https://www.ribbonfarm.com/2009/10/07/the-gervais-principle-...
- ancient rivers of money
- The Return of the Barbarian
- Can Hydras eat unknown unknowns for lunch
There is also a more recent one where he writes about young people and their attitudes about money and property ownership and "life scripts" that was here on HN and metafilter and other places but I don't know the name of it ... was quite good.
Qualcomm on the other hand has taken the "fuck security" approach and failed to clean up their code and get it mainlined for nearly all of their common SoCs. Hence why Android phones are often trapped on old versions of Android when launched or shortly thereafter, long term security through the device lifecycle is a bad joke when Qualcomm and most other ARM vendors are involved.
He lives under the sword. The moment he stops being right, everyone will swiftly turn against them.
What separates them is that they're almost never wrong. Not when they pull out "this is garbage" card.
This is a difficult ability to learn. You need to stay quiet most of the time, then be a complete asshole when it's important.
I really hate that aspect of our industry. But that's just hating on humanity. Apes listen to apes that shout, but only when everyone else is listening too. Otherwise you're just a dick with no influence.
The key is to hate that Linus is a bully while also respecting him when he's right.
It's super frustrating because I feel like any of us could have written that, and no one would care. Literally no one would listen. But Linus says it, so it bubbles to the top of HN and now we're counting our blessings for how lucky we are.
Try to remember this next time someone says something that sounds crazy. Your instinct should be to suppress your skepticism and think whether it has merit. It might piss you off, but is it true? That's the important bit.
And not just for design, but for everything.
(I'm sure whoever came up with the current design isn't too happy about Linus calling it garbage, but they'll just have to deal with it.)
Linus is abrasive, but he usually has a good explanation for why the target of his ire is a moron, e.g. everytime some coder without Linus’ experience suggests converting the kernel codebase to C++.
Let’s be honest, most developers are average at best, and knowledge is our status play. Scoring points against Linus’ decisions are one way to get you noticed, which makes him a target. If I had to deal with that shit everyday, I would do my best to discourage point scorers by putting them in their place as well.
I hope you aren't under the impression that Linus stays quietly and waits for the perfect victim.
> (I'm sure whoever came up with the current design isn't too happy about Linus calling it garbage, but they'll just have to deal with it.)
Or maybe whoever came up with the design was aware it was garbage from inception, there's no need to pity them gratuitously.
I totally agree with "they can’t be trusted to be transparent or even take ownership of the problems they create" though. When you play at Intel's level and mess up on that order of magnitude, doing what they did make you loose all trust.
Well, it's the natural outcome of a system based entirely on competition. When the only incentive is "beat everyone else, nothing else matters" then this eventually happens.
This made me so nervous on his behalf
Lord knows where we would be today if we had leaders like this more frequently through history.
Thankfully it doesn't seem that time is coming any time soon.
I know what you mean here, and I agree with you 100%.
That being said, I can't help but chuckle because if you've ever looked at a vendor's GPL source code for the kernel (Android phone, NAS/router) you know it's the SoCs vendor's old SDK (lots of bodge) with the ODMs additional bodges for their product customizations.
Yes, I am VERY glad that the mainline kernel has Linus and his nose for BS. But just go look at the vendor forks if you want to see some even worse shit than these patches!
Allwinner's GPL is basically garbage. You can find quality rants from tkaiser (Armbian) about this.
MediaTek doesn't even release theirs! Yes, this IS a GPL violation, and no they don't seem to care.
At least Amlogic seems to have woken up and realized an active kernel development community is an asset for them.
No politics, no bullshitting around, your code sucks and he calls you out for it.
The best kind of dictator to have.
I know next to nothing about the BSD communities, my only interaction with the BSD is discussing the taste of a pizza Theo de Raadt and I shared about 20 years ago and young me had no idea who he was. I later heard he is at the helm of OpenBSD and is used to strongly defend his opinions but it is only hearsay.
I have no idea how FreeBSD or OpenBSD communities are organized but I suspect they might not be relying on one specific individual for their major decisions?
I think we generate less hackernews-worthy drama posts overall because when someone is repeatedly abusive, they're asked privately to stop/apologize, and if they keep at it, they risk being kicked from the project.
With hundreds of contributors and a weak hierarchy, no one person is too important to be kicked.
Can it be that Linus is so angry with people and their incompetence because he actually gives a shit about Linux and the code?
I'm not interested if his rants are ethic or not, if they are effective or not. I'm just trying to understand why he's ranting? Because he's an ill adjusted person? Or is there something else?
Linus is 'infamous' for being very angry with people who write shitty code. Why is that? If you read the chapters written by him in 'The Hacker Ethic', you find out that he codes because he's enjoying it, it's what makes him happy, so to speak. Therefore, he is invested in the code he writes. It's not just a job for him. It's his life's project, his 'baby' if you will.
Can it be that because he's so emotionally invested into the code, when he sees that other people push shitty code and don't care about it, the intensity of the emotions he feels are way higher than the emotions of a manager who's just 'doing his job'? Can it be that because he cares so much, he's having a hard time not reacting so 'emotionally'?
http://lkml.iu.edu/hypermail/linux/kernel/1801.2/05282.html
I think we've covered the technical part of this now, not that you like
it â not that any of us *like* it. But since the peanut gallery is
paying lots of attention it's probably worth explaining it a little
more for their benefit.
This is all about Spectre variant 2, where the CPU can be tricked into
mispredicting the target of an indirect branch. And I'm specifically
looking at what we can do on *current* hardware, where we're limited to
the hacks they can manage to add in the microcode.
The new microcode from Intel and AMD adds three new features.
One new feature (IBPB) is a complete barrier for branch prediction.
After frobbing this, no branch targets learned earlier are going to be
used. It's kind of expensive (order of magnitude ~4000 cycles).
The second (STIBP) protects a hyperthread sibling from following branch
predictions which were learned on another sibling. You *might* want
this when running unrelated processes in userspace, for example. Or
different VM guests running on HT siblings.
The third feature (IBRS) is more complicated. It's designed to be
set when you enter a more privileged execution mode (i.e. the kernel).
It prevents branch targets learned in a less-privileged execution mode,
BEFORE IT WAS MOST RECENTLY SET, from taking effect. But it's not just
a 'set-and-forget' feature, it also has barrier-like semantics and
needs to be set on *each* entry into the kernel (from userspace or a VM
guest). It's *also* expensive. And a vile hack, but for a while it was
the only option we had.
Even with IBRS, the CPU cannot tell the difference between different
userspace processes, and between different VM guests. So in addition to
IBRS to protect the kernel, we need the full IBPB barrier on context
switch and vmexit. And maybe STIBP while they're running.
Then along came Paul with the cunning plan of "oh, indirect branches
can be exploited? Screw it, let's not have any of *those* then", which
is retpoline. And it's a *lot* faster than frobbing IBRS on every entry
into the kernel. It's a massive performance win.
So now we *mostly* don't need IBRS. We build with retpoline, use IBPB
on context switches/vmexit (which is in the first part of this patch
series before IBRS is added), and we're safe. We even refactored the
patch series to put retpoline first.
But wait, why did I say "mostly"? Well, not everyone has a retpoline
compiler yet... but OK, screw them; they need to update.
Then there's Skylake, and that generation of CPU cores. For complicated
reasons they actually end up being vulnerable not just on indirect
branches, but also on a 'ret' in some circumstances (such as 16+ CALLs
in a deep chain).
The IBRS solution, ugly though it is, did address that. Retpoline
doesn't. There are patches being floated to detect and prevent deep
stacks, and deal with some of the other special cases that bite on SKL,
but those are icky too. And in fact IBRS performance isn't anywhere
near as bad on this generation of CPUs as it is on earlier CPUs
*anyway*, which makes it not quite so insane to *contemplate* using it
as Intel proposed.
That's why my initial idea, as implemented in this RFC patchset, was to
stick with IBRS on Skylake, and use retpoline everywhere else. I'll
give you "garbage patches", but they weren't being "just mindlessly
sent around". If we're going to drop IBRS support and accept the
caveats, then let's do it as a conscious decision having seen what it
would look like, not just drop it quietly because poor Davey is too
scared that Linus might shout at him again. :)
I have seen *hand-wavy* analyses of the Skylake thing that mean I'm not
actually lying awake at night fretting about it, but nothing concrete
that really says it's OK.
If you view retpoline as a performance optimisation, which is how it
first arrived, then it's rather unconventional to say "well, it only
opens a *little* bit of a security hole but it does go nice and fast so
let's do it".
But fine, I'm content with ditching the use of IBRS to protect the
kernel, and I'm not even surprised. There's a *reason* we put it last
in the series, as both the most contentious and most dispensable part.
I'd be *happier* with a coherent analysis showing Skylake is still OK,
but hey-ho, screw Skylake.
The early part of the series adds the new feature bits and detects when
it can turn KPTI off on non-Meltdown-vulnerable Intel CPUs, and also
supports the IBPB barrier that we need to make retpoline complete. That
much I think we definitely *do* want. There have been a bunch of us
working on this behind the scenes; one of us will probably post that
bit in the next day or so.
I think we also want to expose IBRS to VM guests, even if we don't use
it ourselves. Because Windows guests (and RHEL guests; yay!) do use it.
If we can be done with the shouty part, I'd actually quite like to have
a sensible discussion about when, if ever, we do IBPB on context switch
(ptraceability and dumpable have both been suggested) and when, if
ever, we set STIPB in userspace.It appears to be very difficult to take advantage of, and the initial idea of a JavaScript exploit seems to not be possible.
Part of the reason for all of this might be that the attacker needs to run code on the target machine, and one the attacker can do that, there are far easier ways to read memory.
However, just being able to read all of kernelspace is more of a force-multiplier than being useful on its own. You still need to get your code executing in user-space to do anything, ant it's value even then is at least partly tied up in its ability to easily defeat KASLR.
Also, meltdown requires the data to be snooped to be in L1D cache. So the current demo exploit has to keep pushing the data into cache to be read.
Something simple like steal a password from sudo should be trivia right? I'd not convinced i need to worry.
And making non public facing machines pay the price of the mitigation seems like too much.
One of many source codes online and they are actually pretty understandable by me. I am just a mediocre c programmer.
I think it is useful to know that these exploits just might not be as bad as they are being made out to be.
Ice talked to a number of people that don't seem to understand that there are limits on these: somebody cant just start reading data from random programs.
But as I've learned more about how this community works, I understand that "Why does HN [do this thing I don't like]?" is not a valid question.
HN is a vast community of many different people who think and behave differently.
Sometimes a few more people will downvote your comment than will upvote it, either because they disagree with your point or they dislike the way you expressed it.
But when you complain about downvotes, you lose multiple times over: you fail to contemplate and reflect on how your answer could have been better, you come across like a bad sport, and you break the site guidelines [1].
In this case, it seems like people just disagree with your claim and have explained why in replies.
No big deal, all you need to do is reply politely to demonstrate the correctness of your point.
> Certainly it's a nasty hack, but hey â the world was on fire and in the > end we didn't have to just turn the datacentres off and go back to goat > farming, so it's not all bad.
Off-topic, but what is with the "â" in these sentences? Is that just some weird encoding error, or does it actually have meaning?
As a rule of thumb if you see a’s with accents you’re loooking at a UTF-8 encoding problem.
I want to observe this is somebody who used to work at Transmeta. They were not a large company, and whilst I don't think he directly did VLSI, he very probably understood the interaction of instruction set, chip level behaviour and upper system (specifically operating system and compiler) implications of what a chip does.
I am interested in his response to Intel on that basis. I'd prefer he was less overtly rude and aggressive about it, but I think he manages to convey a real sense of anger and concern about things: How did Intel arrive at this fix. How did Intel discuss this fix with people who have to modify systems to work with it. Qui Bono.
I would really respect Intel if they would.
Nothing against impolite environment, people make case for it daily here and I don't care. But it combined with the standard expectation that when someone else talks to them he should be always polite is getting funny in that context.
Honestly, it's nice in the US to have waiters/waitresses that are nice, it feels insincere but I prefer it greatly to the sometimes outright moody waiters here. It's a culturing thing as well.
If Intel would be sincere, they would just admin they produced BS (Linus is the best person to call BS on such patches) and apologize to Linus for wasting his time and ask how he would like to see the patches.
2.) Talking politely and talking directly are orthogonal categories. You can be impolite while not direct and also polite while being direct.
3.) An environment in which people just speak their minds and is ok with people being impolite when those feel like it is characterized by everyone speaking is mind or being impolite, not just your hero. Meaning, you will not put emphasis on "be polite" when someone you dont like asks for something.
3.) I am pointing out the difference between how people who are not Torwalds demand that you talk to mailing list and what they defend as "good way to communicate" by people they admire. Because actual openly speaking culture is symmetric.
Linus had been treating all this situation very fairly so far, but I guess Intel just had to repeatedly try pushing very bad fixes to a problem they created themselves.
Imagine you go to a restaurant, and the waiter just repeatedly brings you the wrong order, repeatedly.
If I would be hungry, I would be angry, but I would still not insult them and there is no rational reason to do so. I can control my anger in easy restaurant situatuon like that. At worst, I would leave.
I agree with you in general, but that's a bad example IMO. If they are stressed out and make honest mistakes, even if they're totally incompetent and stupid, I would probably laugh harder each subsequent time and assure them it's no big deal, and it would be true. With anyone, but doubly so with anyone who handles my food.
If on the other hand they just didn't care etc., I'd leave at some point and never return. The point at which there would be something to get nasty about is also past the point where it would still make sense to be nasty about it, if you know what I mean.
Not that I think Linus is being particularly nasty, and as I said, I generally agree. But that example rubbed me the wrong way, I just had to speak up, sorry ^^
Here Intel fucked up so they should be really really polite instead.
As much as I decry patronising calls to make tech more "inclusive" and "nice", I must admit that people like Linus are a great argument in favour of that...
As it is, the patches are COMPLETE AND UTTER GARBAGE.
They do literally insane things. They do things that do not make sense. That makes all your arguments questionable and suspicious. The patches do things that are not sane.
Is Linus suggesting these patches are so bad that there could possibly be a camouflaged backdoor?
The whole IBRS_ALL feature to me very clearly says "Intel is not serious about this, we'll have a ugly hack that will be so expensive that we don't want to enable it by default, because that would look bad in benchmarks".
So instead they try to push the garbage down to us. And they are doing it entirely wrong, even from a technical standpoint.
I'm sure there is some lawyer there who says "we'll have to go through motions to protect against a lawsuit". But legal reasons do not make for good technology, or good patches that I should apply.
> s/cool-aid/kool-aid/
Sometimes I just want to see the world burn.
https://en.wikipedia.org/wiki/Drinking_the_Kool-Aid#Backgrou...
Some people are easily offended, some people easily offend, some people are direct, some people are indirect - get over it.
What matters here is the quality of the code / workarounds that are being presented, by whom and what alternatives they are.
-_-
You are correct though, in that the majority of the comment is spent at least dancing around that issue since little of substance was provided on the alternative that they suggest is more worthwhile.
Nitpicking, since everyone can tell what you mean, but FWIW, the phrase you are looking for here is someting like "ad hominem" or "tone argument", not "straw man"; that's something completely different.
There wasn't much of a technical and security discussion in what was posted. Linus spent his time writing about his feelings and how hurt they were that someone did something he didn't like. Very little of substance or merit was communicated. If you consistently behave like a petulant child in a leadership role, expect people to gawk at it.
Linus does a good job at maintaining kernel development and often makes sharp technical commentary. By those measures his communication style seems to have been successful and practically helpful so far.
That is to say, it is the largest collaborative software project in human history
No amount of Linus being a "petulant child" can disprove the results of his style
That seems like a very significant technical and security matter worth discussing, no matter the style of its delivery.
Taken literally, this is not true.
Proper way to fix an hardware bug like this, is that newer cpu gets protected by default, and they answer they are when queried.
So you can ask the CPU "what's your status on bug X" and the cpu answers "i'm good, you don't need to do anything" (newer fixed chips), or "i know about it but was already built, and need microcode update/special behavior to protect myself" (current chips with microcode update), "no answer / I'm not good" (old chips without update).
So new stuff is protected, and you add more protection (and slowdowns, and special stuff) for older chips that don't know how to deal with it.
What Intel is trying to do here, is to go the other way: the chips, even the new ones, will stay vulnerable by default, and when queried they say "I have a fix but I don't use it, you can enable it by asking !" and the kernel is supposed to enable it.
It's terrible for a lot of reasons, like "boot an older os and it's vulnerable since it doesn't know to call this", "additional code to enable this feature has to run for all of eternity for new chips now, instead of having to run for older chips and being phased out over time", etc ...
The reason why Intel does that seems obvious: by default the chip does not lose speed since the fix is not enabled, and so instead of "intel chips lose 30% speed over night because of a flaw" it becomes "intel adds a special security mode that protects you even more for critical applications, at the cost of some speed". Purely marketing speech and decision at the cost of proper engineering decisions, and they need and try to get OSes like Linux to play along. That's what he means by "[it] shows intel had no intention of fixing those flaws".
Additionally there seems to be a second issue in that the quality and behavior of the patches they submitted are trying to hide this deceptively simple but technically terrible behavior by making it look/sound obtuse and complicated.
In other words, intel is using its presence and weight to try and push a shitty solution, but one that is better for them marketing wise. Linus is flabbergasted to be treated like an idiot or a obedient drone that should apply such obvious abusive patches.
My next CPU will be an AMD then.
I see where the brashness comes from. Shady dealings on Intel's part.
The reason he refuses those current patches and directly call it a lie/deception is because of what my last two paragraphs related; if you read his message (where the link points to) it's about half way: Intel tries to disguise it by doing it in a convoluted way. Basically they try to avoid making it obvious when looking at the code, because they don't want a "if (intel_chip) enable_fix_because_default_is_broken_on_intel();" and instead pushes something that looks like the kernel needs to do lots of complex stuff [aka, "it's complex, and a fix-on-chip is not enough the kernel needs protection anyway !", and that means a terrible patch with lots of garbage and filler code.
Intel's intention is clear in that they specifically pushes this in the same patchset as the "tell the chip to be secure", trying to mush the two things together to make it looks like it's all the same thing, whereas in reality it should be two patchset: one to enable the security mode, and bad for intel marketing wise. And a second one to add those "fixes" to the kernel, that would be refused because terrible and in part unecessary since retpoline already protects it. What Linus is saying is "sure I need the first change, but since you're intent on pushing them together I'm refusing them, because the second one is pure garbage, and you mix them together to hide the first".
Eg quotes from said mail to show it's indeed his problem:
> So instead they try to push the garbage down to us. And they are doing it entirely wrong, even from a technical standpoint.
and
> The patches do things like add the garbage MSR writes to the kernel entry/exit points. That's insane. That says "we're trying to protect the kernel". We already have retpoline there, with less overhead.
(what he means here is that they try in their patch to make it look like the kernel needs a special protection, while it already has it through retpoline)
and
> So somebody isn't telling the truth here. Somebody is pushing complete garbage for unclear reasons. Sorry for having to point that out. If this was about flushing the BTB at actual context switches between different users, I'd believe you. But that's not at all what the patches do.
(eg "why are you pushing all this crap around to hide what's really happening/need to be executed")
- In newer CPU's. There should be mitigations against these attacks. That would probably seriously hurt intel by delaying their future processor launches
- In Older/existing CPU's through microcode updates. Bar literally making "fixed" versions of every Intel CPU in the last 10~ years. This is the only way to resolve the issue on existing hardware
Instead of doing that. Intel wants to avoid the much-reported "30% performance hit" by simply saying "Well if you want this FEATURE, you can enable it in your OS!"
Intel is trying to downplay a massive security vulnerability in their hardware as something that OS vendors can just let users opt in/out of
> "boot an older os and it's vulnerable since it doesn't know to call this"
Presumably the hardware that fixes this is not even available on the market yet. How likely is it that somebody will go out of their way to install an obsolete OS version on their brand new hardware?
So not enabling this by default it's a good choice, Spectre is very difficult to exploit: so if you do critical things you enable the fix, if you use the computer for gaming, video rendering, and things where you don't care too much about security but you care about performance, you don't enable it.
From what I've seen. There's been demonstrated attacks using Javascript in Chrome to dump the saved passwords from the browser using these bugs
If an attack is that easy to pull off, I don't think it's reasonable to make it an "opt in"
https://support.google.com/faqs/answer/7625886
“Retpoline” sequences are a software construct which allow indirect branches to be isolated from speculative execution. This may be applied to protect sensitive binaries (such as operating system or hypervisor implementations) from branch target injection attacks against their indirect branches.
The name “retpoline” is a portmanteau of “return” and “trampoline.” It is a trampoline construct constructed using return operations which also figuratively ensures that any associated speculative execution will “bounce” endlessly.
He is still ofcourse mad that they don't seem like they want to fix Spectre correctly but that seems tangential to how pissed he is that they are trying to get code merged that clearly does something other than just mitigate Spectre.
Unfortunately this entire thread is derailed with garbage about how Linus talks, rather than the fact he thinks Intel is doing something really fucking dodgy here and we should all try work out what it is.
1) Recent patch submissions imply that Intel has no good hardware or microcode mitigation for spectre-like attacks. There is a sub-complaint that Intel has a bad (i.e. kills performance) fix, but will not enable it by default because benchmarks matter.
2) This series of patches in particular appears to be doing either something different, or more than what their descriptions imply
These patches do various things, presumably to manipulate the opaque internal state of the CPU, but only Intel knows for sure precisely what they do.
I was under the impression that for at least one category of attack, there is no hardware mitigation possible because it's a fundamental problem with the x86-64 design. Fixing it would require building a chip that uses some other architecture. Is that not the case?
One obvious approach would be to have two caches per core. Speculative execution would use a different cache than normal execution. If the speculative action is committed to, it swaps which cache is the normal one and which is the speculative one. Then you'd also need to flush the branch predictor on context changes. And a few other issues.
Nothing that's impossible to do, but it would require a huge amount of new design and a lot more silicon just to maintain the performance of current chips without mitigation.
> But since the peanut gallery is paying lots of attention it's probably worth explaining it a little more for their benefit.
If someone could enable and trigger that remotely, it would make for fun times.
https://en.wikipedia.org/wiki/Mathematical_modelling_of_infe...
In the world of digital viruses traditional metrics can apply too (Ransomware is measured by hosts "killed", botnets by hosts infected), but those are no longer the only interesting metrics. A virus that spreads within a certain IP block and one month after inception bricks everything it can reach might be regarded as highly successful, despite killing itself in the process.
They are fooling the content filters some corporate services use to block emails though.
IIRC the beeping at least of four-letter-words has to be done to avoid higher PG-ratings and/or fines from the FCC. Not much to do there.
Let the man get his job done and stop pretending to be offended by someone who communicates effectively.
I'm tired of this pearl-clutching nonsense from the youngsters in tech.
Like not patching it at all. Like selling new ARM Chromebooks with no plans to ever patch meltdown in the firmware or kernel. Because that's what Google+Partners is doing with Rockchip Chromebooks AFAICT.
https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...
Edit: ok, you guys have convinced me that this is a special case and we've put Linus back in the title above.
Also, cherry picking a quote and putting it in submission title is against HN guidelines.
I'm actually surprised at the number of people here complaining about the legibility. This is absolutely basic knowledge; or maybe I'm just even older than I imagine myself to be. How can someone who can't even figure this out write software? (I realize that not everybody on this site is a programmer nowadays, but still)
It's rather refreshing to see the Linux kernel keeping the tradition of using mailing lists. Every company I've worked at has felt the need to gather a bunch of people in a room (or teleconference) and "knock things out" in real-time. Then, everyone leaves and develops a severe case of amnesia. Never mind that for technical debates you really need some time to think and reply in detail. Which Slack is not good at, but... surprise, email is. But alas, it's "too old."
The worst part being Exchange/Outlook users whose quoting system is braindead and has the uncanny power to routinely throw off any form of automated top-posting quote folding detection, making for a terrible reading experience in MUAs that support threading properly, as well as said users making heavy use of a Word-afflicted form of interleaved posting that consists of using colors and sizes to reply inline within the quoted part. On the same line no less.
Please for the love of all that is holy could someone in vicinity of the Outlook team add support for "quote-this-selected-text" and "{in,de}crease-quote-level" as well as prefixing the full-quote with a proper marker instead of going full-on Z̭͕͕͘a͠l̛̬̮͇g̪̩͜o͏̹͚̯͖̜ͅ.
Especially when you use the 'suggesting' feature. It's a bit like a mini-PR for your docs.
Google Wave was supposed to be really good for this---better than email.
Don’t tell Linus!
https://i.imgur.com/eXODVHb.png
(which also reminds me of how Tumblr's reblogs look: https://i.imgur.com/e6UR8bn.png)
"All of this is pure garbage. Is Intel really planning on making this shit architectural? Has anybody talked to them and told them they are f*cking insane? Please, any Intel engineers here - talk to your managers."
David Woodhouse replied with:
If the alternative was a two-decade product recall and giving everyone free CPUs, I'm not sure it was entirely insane."
The rest is written by Linus, with all further quoted segments being something David Woodhouse wrote.
> "the user interface is horrendous"
The user interface is perfectly clear if you know how to read it.
I found it clear in this case.
I'm often confused by mailing lists and nobody in the HN thread mentions anything, but this time it was 100% clear to me on the first read and I see lots of complaints.
Retpolines for Spectre, and PTI for Meltdown, are still in the kernel. Linus doesn't have too much disagreement with them. It's the IBRS / IBPB code for Intel's CPUs that Linus has a problem with.
Also, not everything can be mitigated in microcode, for many reasons, not all of which I understand myself. Sometimes, only a fundamental hardware-redesign can fix the issues proper.
Compiler has large effect. Common operations like CALL and PUSH go trough microcode even in m64 but there are alternatives. Many floating point operations have assists. Nonoptimal memory alignment might go trough microcode.
Edit: s/Intel m/M/
Doing otherwise would throw the onus onto kernel maintainers for Windows, Linux, and the various BSD distros, and they don't want a crapton of one off fixes for the plethora of CPU errata that Intel and others patch in microcode.
IBRS and IBPB patches are what will be delayed and maybe never merged. Linus reckons that the Retpoline code will be quite sufficient.
I wouldn't tolerate anyone treating me like this. There are unseen consequences to a wild tongue.
In my country, if someone brought me something terrible, in a professional environment, I would tell them it's bullshit, and go try again. And that would be fine and dandy, and expected. (I'd expect the same treatment of myself. And it has happened.)
I get the feeling, that in the US, you can't criticise. You have to use some political language to say you like it, whilst meaning you don't.
Linus is Finnish. He says what he means. And it's expected, and entirely acceptable.
There are a handful of nations around the world, where saying exactly what you mean is far more valued than trying to preserve whatever emotion someone has invested into their work.
My point is, what matters is the product, the code, the result and the quality there of. The communication around it is entirely based on the relationship and expertise of those around you.
It might work for Linus on the LKML, but it certainly doesn't for everyone and in all circumstances.
Exactly, it's cultural.
And, I wouldn't call it ranting. If you look at Linus' famous examples of this, he may first call it bullshit (calling it as it is), and then he goes on to explain why it is, and usually also explains how to polish the turd into what it should have been.
It certainly works in my experience, having been on both ends of this sort of communication.
It tells you that your quality has fallen well and truly below the expected level of output.
But it isn't something held against you either. Because in these same cultures, it is okay to make a mistake, even costly ones. Because they make you better.
I've shown you that what you made is crap, and why it is crap. So now I know that you know that sort of thing is crap, and will strive to make something better. And you also know I won't turn around tomorrow and remind you of it, because you're passed it. Probably not even in jest.
> You clearly mean well. Your heart is in the right place. Thank you so much for all your hard work. There's this weird thing going on where it seems like a bunch of patches experiencing opportunity for improvement are being pushed. These patches also could maybe be better explained.
> I don't understand. Can you help me understand, so we can fix our problems together? Again, thank you so much for your hard work!
And, incidentally, does the above not just drip insincerity to you? It does to me, and I know how powerful the Dale Carnegie-esqe "complement sandwich" approach is.
Linus is justifiably angry at someone screwing with code he is responsible for in ridiculous ways, without any real explanation of why a ridiculous approach was chosen. He's maybe a smidge less than fully satisfied with either point. The person in question really should know better on all points.
Is it possible that a middle ground of politely offering carefully tempered criticism might exist? It certainly does! Is it possible that it could potentially lack the same impact as the approach Linus used? This strikes me as also possible. My experience to date is that polite criticism carefully wrapped to avoid being upsetting in any way to someone emotionally invested in their work is often not received with the intended level of urgency.
I'm sure that's just my total ignorance and lack of social graces. Can you please help me understand better?
Linus gets away with it because he's Linus. And surprisingly, I hear even he has toned down a bit.
The end result is that Intel can say, "We've fixed the security holes". Linus can apply the patches and say, "I've fixed the security hole". However no distribution will enable it because they will suffer from a massive performance penalty if they do. The end result is that the security hole will remain, but the average person/manager/etc will not be aware of it.
As far as I can tell Linus is calling that out as being complete BS. From what I can tell, his reasoning is that if there needs to be a performance hit, then Intel can eat it. They will have to get their act together and fix the problem in upcoming processors or else basically nobody will buy them. The implication is that Intel has no intention of fixing the problem in the next generation of processors and is hoping to sweep it all under the rug -- they have a fix. It's not their fault if nobody enables it.
The situation is a bit delicate because if Linus forces the Intel processors to be slow, then Intel will blame him -- their patches are only slow if you opt in to some completely-not-understandable-kernel-patch-option. He's basically refusing to play ball at all -- which is probably the correct stance (assuming I understand what's going on -- insert disclaimer about being a random person from the internet here).
I don't think Linus is necessarily blaming anyone in particular. That's why he says the reasons behind the patches are unclear. I think he's hoping that causing bad publicity will get Intel to abandon their tactic of being politically careful. Getting slagged of by Linus carries a certain stigma and Intel may consider it prudent to offer up information more quickly in order to stem the damage.
One of the fixes slow down kernel syscalls by a significant amount. So much so that your IO will be heavily affected. Intel is mostly responding is dishonest ways, e.g. showing the impact on CPU-only benchmarks.
The current patches do have a significant impact!
What someone else explained here is that due to the heavy impact, it seems Intel isn't planning to fix it in future CPU's. Basically a "if you are super security minded enable that special slow secure mode Linux has where they slow down your performance". Meaning, blame Linux/your requirements not Intel.
I think that's a pretty interesting claim on his part. I can't weigh in too much on the evidence to support this claim, but it's certainly more than just a rant it seems.
Why not? The lead engineer of the linux kernel project has specific issues with security patches from a major hardware vendor.
I understand the constant distaste that some users here have with Linus' style, but I don't understand the constant need to denigrate his positions by attempting to paint them as particularly diminutive.
Instead, they do some crazy crazy black magic in the patches.
Intel will make a fix but the fix will be disabled by default as that results in the best performance numbers, those that will be reported in the media.
When you want to use the CPU in the cloud, you have to enable the fix and get much lower performance. But nobody in the media will care about that as they have the nice performance numbers and therefore Intel don't care to implement a fix with high performance.
Seems like Intel just wants to half-arse a solution.
i'm actually not quite sure what he's trying to achieve... There's no chance that a patch will make it into the kernel against his objections, so he doesn't really need to convince anybody.
If he's trying to make a case against Intel, he's unlikely to succeed with the digital version of screaming expletives at people.
I have absolutely no "moral" objections against the use of all the FUCKING BULLSHITS anybody wants. But there's a reason this style isn't used more often in politics/law/philosophy or any other profession trying to change peoples' minds: it really doesn't work.
If anything, these rants show that Linus is unable to effectively use language to make his arguments. It makes him appear small, weak, and angry.
The United States has a president who literally just did that for an entire year.