Slashdot Mirror


How New, Polite Linus Torvalds Points Out Bad Kernel Code (phoronix.com)

Linus Torvalds "has shown already for the new Linux 4.20~5.0 cycle he isn't relaxing his standards but is communicating better when it comes to bringing up coding," reports Phoronix, adding "So far it looks like Linus' brief retreat is paying off with still addressing code quality issues -- and not blatantly accepting new code into the kernel as some feared -- but in doing so in a professional manner compared to his past manner of exclaiming himself over capitalized sentences and profanity that at time put him at odds with some in the Linux kernel community."

AmiMoJo quotes their report: Last Saturday he took issue with the HID pull request and its introduction of the BigBen game controller driver that was introduced: the developer enabled this new driver by default. Linus Torvalds has always frowned upon random new drivers being enabled by default in the kernel configuration driver. [H]e still voiced his opinion over this driver's default "Y" build configuration, but did so in a more professional manner than he has done in the past:

We do *not* enable new random drivers by default. And we most *definitely* don't do it when they are odd-ball ones that most people have never heard of.

Yet the new "BigBen Interactive" driver that was added this merge window did exactly that.

Just don't do it.

Yes, yes, every developer always thinks that _their_ driver is so special and so magically important that it should be enabled by default. But no. When we have thousands of drivers, we don't randomly pick one new driver to be enabled by default just because some developer thinks it is special. It's not.... Please don't do things like this.

Phoronix also describes another "kernel oops" testing Torvalds' patience, in which Linus responded tactfully that "What makes me *very* unhappy about this is that if I'm right, I think it means that code was literally not tested at all by anybody who didn't have one of the entries in that list."

38 of 370 comments (clear)

  1. I can actually hear him gritting his teeth by elrous0 · · Score: 4, Insightful

    That should be impossible with just a few written words, right?

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
    1. Re:I can actually hear him gritting his teeth by Anonymous Coward · · Score: 5, Insightful

      On the contrary, it just goes to show how unnecessary his over the top style was. The irritation comes through just as clearly, but without being overtly offensive and hostile.

    2. Re:I can actually hear him gritting his teeth by Anonymous Coward · · Score: 3, Insightful

      One can only take offense.. It's not possible to give it.

    3. Re:I can actually hear him gritting his teeth by gweihir · · Score: 5, Insightful

      We will see what happens when the first self-important moron does not get it.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    4. Re:I can actually hear him gritting his teeth by Anonymous Coward · · Score: 5, Insightful

      I don't see how that is any more polite than before. Professional way to say the same would have been:
      - We have thousands of drivers so we can't enable all of them by default. This is especially true for new drivers that have not been properly tested yet and which are not known or used by a large amount of people. Please be careful about this in the future so we don't accidentally cause problems for our users.

      Mind you, I don't want Linus to change the way he speaks. I was really happy when my code was rejected by him with harsh words.It made me feel special.

      Those of you who don't understand how I feel, work with something for a whole week. Then send it to someone who would really need your work, but who you know won't reply to you nor use your work in any way. That is what kills spirit and makes you feel rejected, not harsh words that tell that the person did actually spend time investigating your work and even was kind enough to tell you what is wrong with it.

    5. Re: I can actually hear him gritting his teeth by Millennium · · Score: 2

      Aren't we already seeing that like 20 times over, just in this thread alone?

    6. Re:I can actually hear him gritting his teeth by Anonymous Coward · · Score: 2

      If you think his usual style caused tears, wait until he absolutely demolishes someone "professionally". That's what I liked about the cursing: It was honest, direct and expressed emotions instead of suppressing them. He's going to be a lot more vicious and it's going to be a lot harder for some people to understand when and where they crossed a line. Some people like big businesses because abhor the lack of written down rules at startups. Most people however detest HR, deep hierarchies and inflexible rules. We will get to see why.

    7. Re:I can actually hear him gritting his teeth by 93+Escort+Wagon · · Score: 5, Insightful

      I don't see how that is any more polite than before.

      If you honestly can’t see the difference, you haven’t been paying attention.

      There are many ways this differs... but it boils down to this: Linus’ words focused on the code, not the coder. He still got his point across regarding why it was a bad decision, and he let people know he expected people to not do this for their own little corners of the kernel.

      --
      #DeleteChrome
    8. Re:I can actually hear him gritting his teeth by sjames · · Score: 2

      Actually, it can be given. For example, if I were to pee on you while you're sitting on a bench minding your own business, most people would reasonably say I gave offense.

    9. Re: I can actually hear him gritting his teeth by greenfruitsalad · · Score: 4, Funny

      As the great Sean Connery once said when a book fell on his head: "I have only my shelf to blame."

    10. Re:I can actually hear him gritting his teeth by slashdot_commentator · · Score: 2

      Poor guy, bottling in all that anger. He may cut his lifespan short by 10 years if he has to deal with a lot of incompetent code submitters. And then picture some of those morons mouthing off because Linux responded so blandly. All so a bunch of sensitive snowflakes feelings aren't hurt.

      --
      There is no America. There is no democracy. There is only IBM and AT&T and DuPont, Dow, General Electric, and Exxon
    11. Re:I can actually hear him gritting his teeth by Ol+Olsoc · · Score: 3, Interesting

      I don't see how that is any more polite than before. Professional way to say the same would have been: - We have thousands of drivers so we can't enable all of them by default. This is especially true for new drivers that have not been properly tested yet and which are not known or used by a large amount of people. Please be careful about this in the future so we don't accidentally cause problems for our users.

      The problem is that there are a significant number of people who would take umbrage at what you wrote. Allow me to be the worker you just said that to..... Are you accusing me of incompetence? You're saying I'm careless? You're saying that I'm trying to write bad drivers? Then that evening, social media will hear all about you being a jerk and an asshole, possibly being a "something something" bigot.

      I've worked in groups who to our dismay, got one of these wonderful snowflakes on a few occasions. Eventually they have everyone walking on eggshells in order not to offend them, as the focus of the group becomes as much not upsetting the snowflake as it is performing the task at hand.

      After figuring out that the snowflake simply won't take telling, I would move anyone showing signs of being too easily insulted away from us quickly, and usually they made enough trouble in most positions that the next downturn cycle they were gone.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    12. Re:I can actually hear him gritting his teeth by Zontar+The+Mindless · · Score: 3, Insightful

      On the contrary, I think Linus did an excellent job of explaining reality to this developer. Reality being that thing that has a funny way of not giving a shit about your feelings, and Linus not being required to cater to every developer's unwarranted self-importance.

      Oh, and please don't use the term "scare quotes" if you don't know what they are. Thanks!

      --
      Il n'y a pas de Planet B.
    13. Re:I can actually hear him gritting his teeth by fido_dogstoyevsky · · Score: 3, Informative

      ...Who is he to tell this person what "we do" or we do not do...

      The person who OWNS Linux (and the "we" is the group of people permitted to contribute code).

      ...Who the hell does Torvalds think he is, dishing out orders like a tyrant dictator?...

      The person who OWNS Linux (ie the person who dictates what is or is not acceptable code).

      --
      It's NOT a conspiracy... it's a plot.
    14. Re:I can actually hear him gritting his teeth by Idimmu+Xul · · Score: 2

      If you have never had the joy of working with a person who responds to any disagreement with them as a personal and unwarranted attack, you are very lucky indeed.

      If someone responds to disagreement as if it's a personal and unwarranted attack, then the problem is with them and they are the one that needs to learn to accommodate, not the rest of the world.

      --
      The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
    15. Re:I can actually hear him gritting his teeth by sjames · · Score: 2

      Criminal offense is merely a differentiation from civil...

      ...offense. In any event, the law hasn't TAKEN offense, you have given offense.

      Regional or not, it is still an example of giving offense. It may even mitigate or nullify charges of battery for the person offense was given to should they respond physically. Even more jurisdictions will consider such given offense in a civil suit.

      Offense may indeed be given. Some equate it with assault. Others do not. Offense may also be taken even when none is offered. That is another matter. Some even consider taking offense when none is offered to be giving offense in itself.

      Also a regional thing, sometimes it's handled more informally. If the local cops know you were giving offense when someone flattened your nose, they won't take your report very seriously and other patrons in the bar will just happen to have seen nothing.

  2. #savelinus by NicknameUnavailable · · Score: 5, Funny

    I miss the old Linus.

    1. Re:#savelinus by Bruce+Perens · · Score: 5, Funny

      Fork him then. Create a web site with "old Linus" responses to every email he sends to the kernel list. Link them appropriately. Make a disclaimer that it's sarcasm. It should be quite a hoot :-)

  3. SERENITY NOW! by Anonymous Coward · · Score: 4, Informative

    Compare 2010:
    https://lkml.org/lkml/2010/5/20/218

    This is just unbelievable SH*T: ...
    First it says "only ask if EMBEDDED", and then it says "default to Y if
    not embedded".

    Why? Why the hell did somebody decide that everybody and their pet dog
    should get that totally uninteresting driver, whether they want it or not?

    I realize that every single developer thinks that their driver is the most
    important thing in the universe, but come on! This kind of thing is
    totally inappropriate, and to make matters worse, it looks like there are
    a few commits that won't even compile because the whole file wasn't even
    added until later.
    And this piece of shit was made _mandatory_?

    Get a grip, people. I'm not pulling idiotic crap like this. Some quality
    control before you ask me to pull, for chissake!

    2018:

    We do *not* enable new random drivers by default. And we most *definitely* don't do it when they are odd-ball ones that most people have never heard of.

    Yet the new "BigBen Interactive" driver that was added this merge window did exactly that.

    Just don't do it.

    Yes, yes, every developer always thinks that _their_ driver is so special and so magically important that it should be enabled by default. But no. When we have thousands of drivers, we don't randomly pick one new driver to be enabled by default just because some developer thinks it is special. It's not.... Please don't do things like this.

    This is clearly developer behavior which Linus just HATES, but now he has to be polite in expressing his disdain for it.

    I expect Linus to be committed to the looney bin in a matter of months.

    1. Re:SERENITY NOW! by gweihir · · Score: 3, Insightful

      He has to be a jerk to keep kernel quality high. There is no other way. Same as you have to be a jerk (at least temporary) when grading exams, for example.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    2. Re:SERENITY NOW! by gerald.edward.butler · · Score: 2

      Once again, you are violating my copyright. Stop plagiarizing. A license to re-use my words will cost you $5,000.00 per letter. Please remit payment to:

      Gerald E Butler
      2807 Summit Road
      Copley, OH 44321

      If you do not pay for a license to use my words, you will be sued to the maximum extent permitted by law.

      To the Slashdot Editors: Consider this a DMCA notice that I require the name and address of the above poster so that I may initiate legal actions against them if they fail to pay for the proper license to my words.

      Thank You.

  4. Still not right by Anonymous Coward · · Score: 5, Interesting

    If you want a healthy productive community, the correct way to handle repeated violations of policy is to document the policy and direct people to it when its violated.

    If instead he said, you have violated our driver enablement policy, documented at link, then everyone one involved in the offending change making it in would have a much more pleasant time correcting their behavior and also have the opportunity to learn about such rules in advance easier.

    In the software industry, it is standard practice to take repeat issues like this and document then in your best practices document along with examples and justifications. Its better for everyone involved (less work and stress for people like Linus, less being singled out and less feeling like they are being targeted by the contributors).

    Personally I find that the canonical policy documentation is in Linus's head to be a bigger issue than his attitude. There is more to being fostering a positive developer community than not speaking in a rude way: you actually need to be inclusive/transparent when it comes to forming the policies, and in this case having a written best practices document everyone can read and discuss when they have disagreements rather than suffer a personal attack for an authority figure would make this a much better experience for most people.

    At least that's my personal take coming from from the big company cooperate software engineering environment. I've dealt with this kind of feedback before, and it always feels like "my arbitrary opinion that you don't have access to says you should stop being wrong". I like it much better when a perceived mistake is instead address with the question of how we can help future people from making the mistake (ex: new documentation) or how I can help myself from making similar mistakes (ex: direct me to existing documentation). Its the difference of attitude between you messed up, vs how can we learn from this to improve the system so less people fall into the same trap you did.

    1. Re: Still not right by Anonymous Coward · · Score: 2, Insightful

      Well his arbitrary opinion has been proven correct over decades. When he finally drops dead you can debate things with his successor all you like.

    2. Re: Still not right by Zero__Kelvin · · Score: 2

      Which part of "Don't be a moron by setting your Kconfig option to default to Y for obscure and non-critical drivers" do you not understand? How would abandoning meritocracy for corpratocracy help?

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    3. Re: Still not right by cerberusss · · Score: 3, Funny

      When he finally drops dead you can debate things with his successor all you like.

      Linus will not just "drop dead". He will turn into one of those nasty zombie processes that you can't even kill -9.

      --
      8 of 13 people found this answer helpful. Did you?
    4. Re:Still not right by Kjella · · Score: 2

      If you want a healthy productive community, the correct way to handle repeated violations of policy is to document the policy and direct people to it when its violated.

      They process is well documented and on the checklist here it's #6 (emphasis mine):

      Any new or modified CONFIG options do not muck up the config menu and default to off unless they meet the exception criteria documented in Documentation/kbuild/kconfig-language.txt Menu attributes: default value.

      As usual Linus is ranting because people didn't read the basics, if somebody claimed ignorance I'm sure he'd provide the links but they're not exactly hard to find.

      --
      Live today, because you never know what tomorrow brings
  5. Re:"What makes me *very* unhappy..." by alvinrod · · Score: 4, Interesting

    They very well could be, at least in the future. Just imagine that anytime someone really wanted to say fuck, they just added some asterisks around the modified text instead. Eventually everyone figures it out to the point where asterisks are just read as someone cursing out you. Maybe it even ends up being a part of the language if it's popular enough over a long enough period of time. If you can't say "fuck" people will just find a new way to convey the same sentiment. Banning words does nothing to change the people or situations that gave rise to them in the first place. Eventually asterisks just become the new way of expressing that someone has fucked up.

    I think there's actually a relevant example of this online now where apparently surrounding text in multiple sets of parenthesis is supposed to be an indication that the thing in parenthesis is a Jewish plot or something like that. I've seen it on /. enough times to look up what the fuck (sorry, I'm not really about the asterisks) it was supposed to be about. Maybe that meme dies like so many others probably until it gets censored and replaced with something else. I don't know when this started, but at some point, surrounding text in multiple set of parenthesis became an anti-Semitic remark, when prior to that it would have just been nonsense or a weird choice of formatting.

  6. Re: Exactly by Zero__Kelvin · · Score: 2

    No, the actual problem here is he sugar-coated the fact that the submitter was a fucktwat who has no business developing kernel code. No doubt you also fall into this category, or you wouldn't be so worried about how such fucktwats get treated.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  7. Re:He just can't stop being a dick by gerald.edward.butler · · Score: 4, Insightful

    > and not particularly professional

    A crack-whore is a professional. All "professional" means is that you get paid to do work. "Amateur" is someone who does it for the love of it. I'd rather sleep with and amateur than a professional any day.

    "Professional" is one of those weasel-words that gets used to control and manipulate others rather than having any real useful meaning (beyond the above). For me, as soon as someone uses the word "professional" I know they are a worthless piece of shit and I can simply ignore them as they are irrelevant to anything that actually matters.

    Go be a whore (professional) and leave the work to the amateurs!

  8. Re: Automated filter by Zero__Kelvin · · Score: 2

    What did he do for the other 29 days?

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  9. Re: Stop focusing on the PERSON, it is IRRELEVANT by Anonymous Coward · · Score: 2, Insightful

    Most of the last paragraph but especially the first sentence of it, was passive aggressive insults. He "nicely" said "you aren't fucking special, stop acting like it". It's unwarranted. Did the submitter try to claim to be special? Maybe they just didn't know the policy, maybe the default flag was a typo, maybe it was just an oversight. Regardless, the diatribe at the end is unnecessary. He also dismisses the user's product as unimportant. I don't think Linus's product is all that important either but I don't go around telling him that. Everyone thinks their product is important, stating you don't think it is, is just being a dick. Linus has always acted like ANY mistake was a malicious attempt to murder his children. All he needed to say was "Our driver policy states drivers are not to be enabled by default. Please correct your code and resubmit." No insults. No ambiguity. Clearly states the reason for rejection.

    Talking about how other people aren't special implies you think you are unless you explicitly exclude yourself, which he didn't. It's just an exercise to stroke his own ego and show everyone who's in charge. If he were *REALLY* in charge, he wouldn't have had to take a vacation and we wouldn't be arguing about this article. See, I can do it too, and boy does my ego feel better!

  10. Re:He just can't stop being a dick by Kjella · · Score: 2

    All "professional" means is that you get paid to do work.

    If that was the only meaning of the word no paid person could act unprofessionally and no volunteer act professionally. I think you miss how often "being a professional" means sucking it up and doing your job regardless of your personal feelings or abusive/irate behavior. Think being a defense lawyer for scum or a customer service representative that just got blasted with a curse-laden tirade. Or simply trying to keep objective standards and be a neutral judge even though one is a beer buddy and the other is not.

    Can it be weaponized as a shield against retaliation or to goad people into acting unprofessionally and punishing them for it? Sure. A lot of people are abusive towards CSRs because they know they can't respond in kind. And if they do tilt, you can report them and they get reprimanded or fired. Which is why many have found their own secret ways to take revenge or give them bad karma. Voluntary professionalism is pretty much always a good thing, it's acting with respect and integrity. Imposed professionalism sometimes means being the doormat.

    This is of course equally true in corporate politics, people will invoke professionalism to keep others from playing dirty tricks while playing their own dirty tricks. Nobody's claimed being professional means you always win, sometimes you have to either get down in the mud and wrestle the pig or walk away. And sometimes the game is just rigged so that you can't win. It's more of a personal standard, I won't stoop to that level.

    --
    Live today, because you never know what tomorrow brings
  11. Actual text by thegarbz · · Score: 4, Funny

    Oh fuck off. We do *not* enable new random drivers by default. And we most *definitely* don't do it when they are odd-ball ones that most people have never heard of.

    Yet the new "BigBen Interactive" driver that was added this merge window did exactly that.

    Just don't fucking do it.

    Yes, yes, you always thinks that your driver is so special and so magically important that it should be enabled by default. But no. When we have thousands of drivers, we don't randomly pick one new driver to be enabled by default just because some developer thinks they are special. You're not. Don't fucking do things like this.

    1. Re:Actual text by Anonymous Coward · · Score: 2, Informative

      I know we don't read TFA, but there is an example of how Linus dealt with almost the exact same situation before:

      You add new drivers and then default them to "on".

      THAT IS COMPLETELY UNACCEPTABLE.

      I don't know why I have to say this every single merge window, but let's do it one more time:

      As a developer, you think _your_ driver or feature is the most important thing ever, and you have the hardware.

      AND ALMOST NOBODY ELSE CARES.

      Read it and weep. Unless your hardware is completely ubiquitous, it damn well should not default to being defaulted everybody elses config. ...
      But something like CONFIG_DELL_SMBIOS sure as hell does not merit being default on. Not even if you have enabled WMI.

      EVERY SINGLE "default" line that got added by this branch was wrong.

      Stop doing this. It's a serious violation of peoples expectations. When I do "make oldconfig", I don't want some new random hardware support.

      At this point I think Linus should just write a template "no seldomly used drivers enabled by default" response.
      No need to invest all that time in writing a response when the committer didn't invest time in considering proper settings.
      Even better if it can insert driver/hardware name automatically.

  12. Re:What is important by serviscope_minor · · Score: 2

    In engineering, being right is essential and trumps everything else

    Spoken like an armchair engineer.

    Woe betide the engineer who ignores human factors.

    Being polite is professional but optional.

    Generally no. If you get your ass fired for being an insufferable asshole, it doesn't matter how right you are because no one will hear your rightness. Like a poor engineer you ignored the human factors.

    --
    SJW n. One who posts facts.
  13. Re: Stop focusing on the PERSON, it is IRRELEVANT by invalid_user · · Score: 2

    Americans. Do you all want to become like the Germans? Or the Japanese? Because that's what you will become if you go down this path.

    These are cultures where nobody dares to speak honestly, and everybody becomes over-sensitive about what the other person ACTUALLY thinks about them.

  14. Re: He just can't stop being a dick by gerald.edward.butler · · Score: 2

    i appreciate your position on this, but, I have to disagree for these reasons:

    * "Professional" has been overloaded with so many "meanings" at this point that it has become a useless word. It can mean anything depending on who is using and in what context. That is what I mean by "Weasel Word". Used in the way you describe, it can mean something useful, but, that is generally not the way it is used. An innocuous example of the overloading of the word: "Educated Professional" / "Uneducated Professional" - Can the second exist? If not, then isn't the first phrase redundant? If it can, then wouldn't "Professional" being an indicator of "Education" make it a contradiction?

    * Use of words "willy nilly" isn't the issue. The issue is use of words as a way to coerce and control well beyond any natural right to do so. The people throwing out the word "professional" all the time are attempting to control the speech of others well beyond their right to do so. Many want to demand the right to control which words others use because they have been brainwashed from the time they were a child to believe that certain words are magically "offensive" and certain words are mysteriously never offensive. This couldn't be further from the truth. Words are not offensive or not offensive. One can not offend. One can only take offense. Anyone can decided to be offended at anything. "Offense" always has, and always will be, used as a means of control and manipulation to keep the narrative in favor of the power structure and prevent ideas that run counter to whatever the current power is from taking hold and spreading.

    * For doctors, lawyers, engineers, etc. I want a "competent" and "thoughtful" and "dedicated" instance of one of those. I could care less whether or not they were formally educated and/or recognized as long as those other things are true. For example, if a doctor learned by reading a bunch of medical texts on their own, or even, rediscovered proper techniques on their own, I'd be happy with that "Doctor" regardless off "education". "Professionalism" just wouldn't be a consideration at all. If I am paying them for the service and they are competent and helpful, great. If they are doing it for the "Love" of it and they are competent and helpful, even better. I could care less whether they were a "Professional" (paid) or "Amateur" (for the love of it), as long as my problem were addressed. In fact, I believe that "Professionalism" in this context actually makes it so it is harder to get problems taken care of. For example, anyone should be able to provide legal or medical services. If they're good at it, they'll get more customers. If they are not, they will fail as a business. Whether or not they have been certified or attended a particular school may or may not correlate with this, but, barring anyone from attempting to practice is where the word "Professional" has been misused to create an artificial shortage and make it so that those on the margins are less able to afford even minimal services. Also, as we know, "Professional" does not make ANY guarantees whatsoever when it comes to Lega/Medical matters for example. In fact, they are two of the few "Professions" where you pay (exorbitant amounts) regardless of whether or not they actually solve your problem. As a "software developer" if the software I create doesn't work, I don't get paid. A doctor or lawyer (and many other "Professions") are paid even if they can't deliver results. So "Professional" seems to mean in this context, "Someone who gets paid to do a job whether or not they are actually able to deliver on that job". Interesting, isn't it?

    * For actors, dancers, and other artists, I have rarely seen a "Formally Educated" artist that is superior to people with actual "talent" who have zero education unless they themselves were particularly talented. Most "educated" artists are mediocre at best from what I can see and only accidentally do particularly talented i

  15. Re:So are the rejected drivers good enough? by hey! · · Score: 2

    That's not the issue at all. The question is whether they should enabled by default. The kernel development policy is not to do that with new drivers, unless there is some compelling reason to do so.

    The driver in question might be the finest driver ever written, but the policy exists because the kernel development team is huge, and if everybody did things their own way the result would be chaos.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.