Announcement

Collapse
No announcement yet.

Google Posts Patches So The Linux Kernel Can Be LTO-Optimized By Clang

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

  • Google Posts Patches So The Linux Kernel Can Be LTO-Optimized By Clang

    Phoronix: Google Posts Patches So The Linux Kernel Can Be LTO-Optimized By Clang

    A Google engineer has posted patches for review so that the mainline Linux kernel can be built with Link-Time Optimizations (LTO) by the LLVM Clang code compiler...

    http://www.phoronix.com/scan.php?pag...ng-LTO-Patches

  • #2
    Finally

    Comment


    • #3
      imagine a ltoed xanmod

      Comment


      • #4
        Execution speed is usually not really improving with lto, but size reduction is often measurable.

        Comment


        • #5
          Originally posted by oleid View Post
          Execution speed is usually not really improving with lto, but size reduction is often measurable.
          IIRC, LTO also detects some type signature changes across modules.

          Comment


          • #6
            Gonna wait that out. Expect data losses.

            Comment


            • #7
              Originally posted by CochainComplex View Post
              imagine a ltoed xanmod
              Last time I tried this, building failed... (with GCC10)
              This is the case with more software, for example ffmpeg also fails to build with lto enabled

              Comment


              • #8
                Yes LTO or even PGO with the Kernel is seriously not so easy. DId you use march=generic in config?

                Comment


                • #9
                  i have a dream to see linux without GNU

                  Comment


                  • #10
                    Originally posted by oleid View Post
                    Execution speed is usually not really improving with lto, but size reduction is often measurable.
                    Reducing kernel obesity would be more than welcome.

                    Comment

                    Working...
                    X