The Post Ninja

  • 5 Posts
  • 597 Comments
Joined 3 years ago
cake
Cake day: July 8th, 2023

help-circle


  • Headline is a neuron activation lightning rod. Torvalds used the model to debug, the code is a one word fix he probably wrote himself.

    This is the actual commit:

    https://github.com/torvalds/linux/commit/818bebeb63dd6bf5f4e07e145f6cdbace520a34c

    It fixes a goof where Intel Xe drivers allocate a few kb of memory that is used by the system during boot that causes the video to stop working. The fix is round_down() the memory allocation instead of round_up() the memory allocation. That’s pretty much the entire code change. round_up() -> round_down(). The commit message makes a lot of sense, and this bug is something you’d be spending a lot of time on manually debugging due to how insidiously subtle it is. Torvalds used the AI model to help debug the problem, but I’m pretty sure a one word change in code is not an AI generated code… and if changing one word is what the AI really did in the end, where do you draw the line at copyright? Challenging the copyright of individual words is impossible to enforce, because the word is used everywhere.














  • Unified memory hasn’t been the norm for a long time. The stranglehold is the bus connecting the memory to the graphics. SoC designs can bypass the strangle since they put the memory and gpu on the same die or literally next to it.

    Having unified memory means removing unnecessary copying of data between memory segments, saving both memory usage, cpu and I/O time, and energy, especially as integrated systems (SoC) use the same literal memory chips for both things.

    Basically, memory should not need to be dedicated to any task at all, it should be available to be allocated and referenced as required by the task that needs it, but since historically gpu memory and system memory are different memorys that require data to be loaded in either or the other, we are stuck with that paradigm in apps writen with that divide in mind.