Announcement

Collapse
No announcement yet.

Linux 6.7 To Make It Easier To Toggle Support For x86 32-bit Programs

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

  • stormcrow
    replied
    Originally posted by zboszor View Post

    There never was a 2-bit CPU from Intel.

    But I want my native Intel 4004 emulation support in KVM!

    Also 8080 and with a little actual emulation, Zilog Z80 so ZX Spectrum emulators can finally run close to today's native CPU speed.
    Le sigh... 2 bits just isn't worth what it used to be...

    Leave a comment:


  • zboszor
    replied
    Originally posted by MorrisS. View Post
    What about 2bit?
    There never was a 2-bit CPU from Intel.

    But I want my native Intel 4004 emulation support in KVM!

    Also 8080 and with a little actual emulation, Zilog Z80 so ZX Spectrum emulators can finally run close to today's native CPU speed.

    Leave a comment:


  • jacob
    replied
    Originally posted by JEBjames View Post
    How much smaller/faster is the kernel if you set all the kernel compiler flags to completely remove all 32bit support?
    Most likely there is zero difference in size or performance. The point of this is to disable an unnecessary entry point to syscalls in setups where it is not needed. In practice that would be everything except on the desktop.

    Leave a comment:


  • fitzie
    replied
    Originally posted by EphemeralEft View Post
    Why is it being called “emulation”? Isn’t it running natively on the hardware?
    The kernel is a 64 bit kernel, so it has to appear and behave like a 32bit kernel, hence the emulation.

    Leave a comment:


  • JEBjames
    replied
    How much smaller/faster is the kernel if you set all the kernel compiler flags to completely remove all 32bit support?

    Leave a comment:


  • archkde
    replied
    Originally posted by Joe2021 View Post

    Just disable it completly, so the support is even not compiled into the kernel. KISS.
    And now I have to recompile the kernel all the time. Great idea /s.

    Leave a comment:


  • discordian
    replied
    Originally posted by Joe2021 View Post

    Just disable it completly, so the support is even not compiled into the kernel. KISS.
    This. If you need it anywhere you dont care for toggling it on/off, otherwise you dont want it.

    I could image using it specifically only in containerized apps, but that would then need to be an namespaced option.
    At which point you could also just register a qemu-handler using binfmt (when finally this is made namespace-aware https://lore.kernel.org/lkml/[email protected]/T/ )

    Leave a comment:


  • MorrisS.
    replied
    What about 2bit?

    Leave a comment:


  • Joe2021
    replied
    Originally posted by NotMine999 View Post
    Sounds like this boot-time option can reduce your computer's "attack surface" if you do not use any 32-bit apps. That would be useful.
    Just disable it completly, so the support is even not compiled into the kernel. KISS.

    Leave a comment:


  • NotMine999
    replied
    Sounds like this boot-time option can reduce your computer's "attack surface" if you do not use any 32-bit apps. That would be useful.

    Leave a comment:

Working...
X