Announcement

Collapse
No announcement yet.

Linux 5.12 Coming In At Around 28.8 Million Lines, AMDGPU Driver Closing In On 3 Million

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Almindor
    replied
    Originally posted by sn99 View Post

    It won't ever be, Rust does not have a hard coded ABI, C is just better for OS-dev.
    With Linux you'd have to use `#[repr(C)]` either way which is of course a stable C compatible ABI. Rust itself does not stabilize its native representations yet but it'll come one day. It'd be of no use with the Linux kernel tho.

    Rust purely from the language perspective is vastly superior to C for OS-dev. There are still some rough edges but it's already way ahead.

    Leave a comment:


  • sn99
    replied
    Originally posted by StarterX4 View Post
    And no code in Rust yet.
    It won't ever be, Rust does not have a hard coded ABI, C is just better for OS-dev.

    Leave a comment:


  • StarterX4
    replied
    And no code in Rust yet.

    Leave a comment:


  • bridgman
    replied
    Our header files also used to be quite a bit smaller before community developers asked us to include header info for all of the registers we could, not just the registers that the driver was currently using.

    BTW the register header files are not auto-generated in the generally accepted sense (a small amount of code goes through some kind of processing to produce a larger amount of code), but rather are extracted from our HW source code.
    Last edited by bridgman; 01 March 2021, 08:46 PM.

    Leave a comment:


  • doomie
    replied
    Originally posted by Ronshere View Post
    More than 10% of the kernel is devoted to one company!!??
    a lot of automatically generated lines for GPU registers... nature of the beast. plus graphics in general seem a messy IP/architecture/ecosystem compared to other hardware...

    Leave a comment:


  • torsionbar28
    replied
    Originally posted by Danny3 View Post
    Hm... AMD's driver has quite a lot of lines of code, but still sucks for compute support and many features available in the Windows driver have not even been implemented.
    Ok. The only alternative is Nvidia. Do we want to do a comparison with the state of Nouveau driver? I don't think you want to go there, lol.

    Leave a comment:


  • d3coder
    replied
    Originally posted by Ronshere View Post
    More than 10% of the kernel is devoted to one company!!??
    Most of this code was generated

    Leave a comment:


  • Vistaus
    replied
    Originally posted by andyprough View Post
    That's why I only use Linux kernel 0.01 - anything larger than 71k is bloat: https://mirrors.edge.kernel.org/pub/...rnel/Historic/
    71k? Too bloated for me still.

    Leave a comment:


  • fafreeman
    replied
    Originally posted by andyprough View Post
    That's why I only use Linux kernel 0.01 - anything larger than 71k is bloat: https://mirrors.edge.kernel.org/pub/...rnel/Historic/
    can you actually run this in a VM?

    Leave a comment:


  • andyprough
    replied
    That's why I only use Linux kernel 0.01 - anything larger than 71k is bloat: https://mirrors.edge.kernel.org/pub/...rnel/Historic/

    Leave a comment:

Working...
X