Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. Linus responds to Hellwig - "the pull request you objected to DID NOT TOUCH THE DMA LAYER AT ALL... if you as a maintainer feel that you control who or what can use your code, YOU ARE WRONG."

Linus responds to Hellwig - "the pull request you objected to DID NOT TOUCH THE DMA LAYER AT ALL... if you as a maintainer feel that you control who or what can use your code, YOU ARE WRONG."

Scheduled Pinned Locked Moved Linux
84 Posts 48 Posters 519 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • that_leaflet@lemmy.worldT [email protected]

    cross-posted from: https://lemmy.world/post/25857381

    Hellwig is the maintainer of the DMA subsystem. Hellwig previously blocked rust bindings for DMA code, which in part resulted in Hector Martin from stepping down as a kernel maintainer and eventually Asahi Linux as a whole.

    kingthrillgore@lemmy.mlK This user is from outside of this forum
    kingthrillgore@lemmy.mlK This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #15

    God damn if these Rust glazers are so offended by this, just go work on Redox

    J O 2 Replies Last reply
    0
    • C [email protected]

      Gee Linus you think you could've fucking said something before it got to this point?

      C This user is from outside of this forum
      C This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #16

      Sometimes when you're celebrating someone's judgement, don't shit on their judgement.

      1 Reply Last reply
      0
      • J [email protected]

        It's mostly in that linked thread. The high level of it is a guy wanted to push Rust code. The maintainer said no it would mean the API for this would be tied to Rust and that is unacceptable. It cause another big contributer to throw a fit and Linus said he can't be everyone's mom. They kept fighting for like 2 months apparently? Now Linus stepped in, looked at the code and said the Rust code clearly doesn't impact the API in the way the maintainer was saying it just breaks itself if the maintainers allow changes to the API.

        I kinda dislike the idea that it's cool for people to contribute code that is so easy to break. I have a feeling after it happens a few times they are going to claim that it is being done intentionally and that the slap fights will carry on.

        J This user is from outside of this forum
        J This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #17

        Thanks for the summary, I did a bit of reading myself. It's interesting the dynamics at play here - you've got a long, long term contributor in Hellwig who's been a maintainer since before Rust even existed, then you've got quite a few people championing Rust being introduced into the kernel. I feel like Hellwig's concerns must have more to do with the long term sustainability of the Rust code - like will there be enough Rust developers 10, 20, 30 years down the line. I mean, even if it stays maintained, having multiple languages in a codebase increases complexity and makes it harder to contribute. Then you have Filho resigning from the Rust for Linux project, which in itself kind of calls into question the long term sustainability of the project. It seems like Rust would have quite a few benefits for the Linux kernel, but the question remains of if it's still gonna be any good in a few decades. This is juicy stuff!

        1 Reply Last reply
        0
        • J [email protected]

          Anyone got more context on this I can read through? I haven't kept up with this other than Linus's notorious attitude.

          ulrich@feddit.orgU This user is from outside of this forum
          ulrich@feddit.orgU This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #18

          Someone submitted some code to the Linux kernel. One of the maintainers repeatedly denied it for no reason other than it contained code that is not C. The submitter became very angry, lashed out publicly on social media, then removed themselves from the project. They were also the founder of Asahi Linux and resigned from that as well.

          It's nothing to do with Rust, specifically.

          O patatahooligan@lemmy.worldP 2 Replies Last reply
          0
          • A [email protected]

            Sometimes you gotta let people try to resolve things on their own first.

            ulrich@feddit.orgU This user is from outside of this forum
            ulrich@feddit.orgU This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #19

            Yes but that clearly was not happening. And now they lost a contributor for no reason.

            patatahooligan@lemmy.worldP T 2 Replies Last reply
            0
            • L [email protected]

              I do not know why you say it is easy to break.

              The Rust team are maintaining their side. I do not expect it to break. And the C code that the Rust code depends on is used by lots of other code. It should be a stable interface. Changing the C code just to break the Rust code would break a lot of C code too and upset a lot of folks.

              And the who point is to create a more idiomatic interface on the Rust side. So, even if the c interface does change, it may only be a small amount of Rust code that needs to change in response.

              A This user is from outside of this forum
              A This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #20

              I can understand Hellwig's fear, though.

              From what I gather as a bystander, it's apparently common that a refactoring in your module that breaks its API will involve fixing all the call-sites to keep the effort on the person responsible for the change. Now the Rust maintainers say "it's fine; if it breaks, we'll deal with it" which is theoretically takes away the cross-language issue for the C-maintainer. Practically I can very well see, that this will still cause friction in the future.

              Let's say such a change happens and at that time there's a bit of time pressure and the capacity on the rust maintainers is thing for whatever reasons. Will they still happily swallow that change or will they start to discuss if it's really necessary to do that change? And suddenly, the C-maintainer has a political discussion on top of the technical issue they wanted to solve.

              As someone who just wants to get shit done, I would definitely have that fear.

              (That doesn't mean it's still a bullet not worth swallowing. The change overall can still be worth the friction. I am just saying that I think it's not totally unwarranted that a maintainer feels affected by this even though current pledges from the other parties promise otherwise; this stance can change or at least be challenged over and over.)

              O F 2 Replies Last reply
              0
              • semperverus@lemmy.worldS [email protected]

                It literally wasn't about Rust specifically though. Christoph literally said it was about anything that was not C, including assembly, C++, brainfuck, or whatever, entering the kernel. Christoph likes Rust. Christoph (rightfully) does not like mixed language codebases for projects as large and important as Linux

                O This user is from outside of this forum
                O This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #21

                But isn’t this in specific just about bindings?

                J semperverus@lemmy.worldS 2 Replies Last reply
                0
                • ulrich@feddit.orgU [email protected]

                  Someone submitted some code to the Linux kernel. One of the maintainers repeatedly denied it for no reason other than it contained code that is not C. The submitter became very angry, lashed out publicly on social media, then removed themselves from the project. They were also the founder of Asahi Linux and resigned from that as well.

                  It's nothing to do with Rust, specifically.

                  O This user is from outside of this forum
                  O This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #22

                  Yeah that is a very opinionated description. Up until “the submitter became very angry, lashed out” that sounds about right, but from there on, your bias shows. Which is fine, and human, but probably worth mentioning this to others reading this. It’s not exactly an objective view, whatever that’s worth.

                  ulrich@feddit.orgU 1 Reply Last reply
                  0
                  • O [email protected]

                    Yeah that is a very opinionated description. Up until “the submitter became very angry, lashed out” that sounds about right, but from there on, your bias shows. Which is fine, and human, but probably worth mentioning this to others reading this. It’s not exactly an objective view, whatever that’s worth.

                    ulrich@feddit.orgU This user is from outside of this forum
                    ulrich@feddit.orgU This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #23

                    The part where I exclusively stated facts is opinionated?

                    O 1 Reply Last reply
                    0
                    • A [email protected]

                      I can understand Hellwig's fear, though.

                      From what I gather as a bystander, it's apparently common that a refactoring in your module that breaks its API will involve fixing all the call-sites to keep the effort on the person responsible for the change. Now the Rust maintainers say "it's fine; if it breaks, we'll deal with it" which is theoretically takes away the cross-language issue for the C-maintainer. Practically I can very well see, that this will still cause friction in the future.

                      Let's say such a change happens and at that time there's a bit of time pressure and the capacity on the rust maintainers is thing for whatever reasons. Will they still happily swallow that change or will they start to discuss if it's really necessary to do that change? And suddenly, the C-maintainer has a political discussion on top of the technical issue they wanted to solve.

                      As someone who just wants to get shit done, I would definitely have that fear.

                      (That doesn't mean it's still a bullet not worth swallowing. The change overall can still be worth the friction. I am just saying that I think it's not totally unwarranted that a maintainer feels affected by this even though current pledges from the other parties promise otherwise; this stance can change or at least be challenged over and over.)

                      O This user is from outside of this forum
                      O This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #24

                      Isn’t it just to make the code more idiomatic rust side? If there’s breaking api change c side, it’s just a matter of adjusting the interface, it should not involve any grand work, right? The contributor bringing that change over can just ping anyone familiar with the rust interface and that should be the end of it for them, can’t imagine it’d be very involved to fix

                      1 Reply Last reply
                      0
                      • ulrich@feddit.orgU [email protected]

                        The part where I exclusively stated facts is opinionated?

                        O This user is from outside of this forum
                        O This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #25

                        Submitter becoming very angry is not an objective view of it, unless you know for a fact they did become not only angry or frustrated, but very angry. Which would still be very leading because of the use of “very” where not necessary. Lash out on someone/something is also a very leading choice of words, since it has connotations beyond the neutral.

                        I’m just saying a lot of subjectivity on the words chosen, and that others should be aware.

                        ulrich@feddit.orgU 1 Reply Last reply
                        0
                        • O [email protected]

                          Submitter becoming very angry is not an objective view of it, unless you know for a fact they did become not only angry or frustrated, but very angry. Which would still be very leading because of the use of “very” where not necessary. Lash out on someone/something is also a very leading choice of words, since it has connotations beyond the neutral.

                          I’m just saying a lot of subjectivity on the words chosen, and that others should be aware.

                          ulrich@feddit.orgU This user is from outside of this forum
                          ulrich@feddit.orgU This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #26

                          He was using charged language and ultimately wrote a long rant about failed leadership and resigned from the project he founded as a result. I don't know how you can possibly interpret that any other way.

                          O 1 Reply Last reply
                          0
                          • ulrich@feddit.orgU [email protected]

                            Yes but that clearly was not happening. And now they lost a contributor for no reason.

                            patatahooligan@lemmy.worldP This user is from outside of this forum
                            patatahooligan@lemmy.worldP This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #27

                            Marcan was probably fed up and was looking for a reason leave. If that's not the case, then it's silly for him to just quit mid-discussion, before it's even become apparent what the reaction to Cristoph Hellwig's behavior would be and whether his reply would even be taken into account during the review process.

                            ulrich@feddit.orgU 1 Reply Last reply
                            0
                            • ulrich@feddit.orgU [email protected]

                              He was using charged language and ultimately wrote a long rant about failed leadership and resigned from the project he founded as a result. I don't know how you can possibly interpret that any other way.

                              O This user is from outside of this forum
                              O This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #28

                              Yeah, that’s exactly what it is, as you say: Your interpretation. Can’t offer much more as a third party, and I’m not saying it’s wrong or anything, I was just bringing the fact that it is a subjective interpretation up, since it probably isn’t clear for everyone.

                              “Long rant about failed leadership” is probably not how everyone would describe it/them, either. And just the use of “rant” there, as opposed to something neutral like “a post” or “writing” or whatever, is an example of what I mean. It’s not wrong and doesn’t imply you are wrong, but it is suggestive. Which, again, is fine, I do not understand why not just let the quick note I dropped be, rather than try and fight it for no reason

                              ulrich@feddit.orgU 1 Reply Last reply
                              0
                              • patatahooligan@lemmy.worldP [email protected]

                                Marcan was probably fed up and was looking for a reason leave. If that's not the case, then it's silly for him to just quit mid-discussion, before it's even become apparent what the reaction to Cristoph Hellwig's behavior would be and whether his reply would even be taken into account during the review process.

                                ulrich@feddit.orgU This user is from outside of this forum
                                ulrich@feddit.orgU This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #29

                                before it's even become apparent what the reaction to Cristoph Hellwig's behavior would be

                                It was very clear that the reaction was going to be no reaction. That's the point.

                                patatahooligan@lemmy.worldP 1 Reply Last reply
                                0
                                • O [email protected]

                                  Yeah, that’s exactly what it is, as you say: Your interpretation. Can’t offer much more as a third party, and I’m not saying it’s wrong or anything, I was just bringing the fact that it is a subjective interpretation up, since it probably isn’t clear for everyone.

                                  “Long rant about failed leadership” is probably not how everyone would describe it/them, either. And just the use of “rant” there, as opposed to something neutral like “a post” or “writing” or whatever, is an example of what I mean. It’s not wrong and doesn’t imply you are wrong, but it is suggestive. Which, again, is fine, I do not understand why not just let the quick note I dropped be, rather than try and fight it for no reason

                                  ulrich@feddit.orgU This user is from outside of this forum
                                  ulrich@feddit.orgU This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #30

                                  Because the "quick note" you dropped is wrong. There's no defensible position where his reaction can reasonably be interpreted as anything else.

                                  O 1 Reply Last reply
                                  0
                                  • ulrich@feddit.orgU [email protected]

                                    Someone submitted some code to the Linux kernel. One of the maintainers repeatedly denied it for no reason other than it contained code that is not C. The submitter became very angry, lashed out publicly on social media, then removed themselves from the project. They were also the founder of Asahi Linux and resigned from that as well.

                                    It's nothing to do with Rust, specifically.

                                    patatahooligan@lemmy.worldP This user is from outside of this forum
                                    patatahooligan@lemmy.worldP This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #31

                                    Marcan is not the submitter. Unless I've missed something, the submitter is still working on the patch.

                                    ulrich@feddit.orgU 1 Reply Last reply
                                    0
                                    • patatahooligan@lemmy.worldP [email protected]

                                      Marcan is not the submitter. Unless I've missed something, the submitter is still working on the patch.

                                      ulrich@feddit.orgU This user is from outside of this forum
                                      ulrich@feddit.orgU This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #32

                                      Yes you're correct. I'll update that.

                                      1 Reply Last reply
                                      0
                                      • ulrich@feddit.orgU [email protected]

                                        Because the "quick note" you dropped is wrong. There's no defensible position where his reaction can reasonably be interpreted as anything else.

                                        O This user is from outside of this forum
                                        O This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #33

                                        So you dictate the objective truth in situations where there are but interpretations? Any other interpretations are wrong, with a bold font even, other than yours, which you solely deem correct?

                                        Right. I mean this is exactly what I was just dropping in to signal. And it’s not about who or what is right or correct. It’s the use of leading words… that’s all. Jesus.

                                        ulrich@feddit.orgU 1 Reply Last reply
                                        0
                                        • O [email protected]

                                          So you dictate the objective truth in situations where there are but interpretations? Any other interpretations are wrong, with a bold font even, other than yours, which you solely deem correct?

                                          Right. I mean this is exactly what I was just dropping in to signal. And it’s not about who or what is right or correct. It’s the use of leading words… that’s all. Jesus.

                                          ulrich@feddit.orgU This user is from outside of this forum
                                          ulrich@feddit.orgU This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #34

                                          Any other interpretations are wrong

                                          Yes that's what I said.

                                          O 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups