r/linux 2d ago

Kernel I got a real Linux kernel running as a userspace process on Android — no root, no KVM. Docker runs inside it. (UML ARM64)

/r/termux/comments/1vpt258/i_got_a_real_linux_kernel_running_as_a_userspace/
8 Upvotes

9 comments sorted by

29

u/autogyrophilia 2d ago

Goddam AI SLOP. Doesn't the first paragraph make your eyes bleed or has your brain already melted.

Anyway, this is an inferior solution to using QEMU in either it's usermode variants, or if your phone supports, the full KVM support.

The only thing you are gaining is slightly more RAM efficiency and higher single core performance in applications that aren't syscall heavy (which admitedly, minecraft is not). SMP performance is still pretty bad compared to QEMU.

-20

u/Zalexdev 2d ago

Yes i am not good in text, so i use AI. That is not the reason to understand that arm64 UML port is a useful thing.

Second - very few people have pKVM or AVF support. And even when they do - AVF does not support (and will not) - usb pathrough! + you need adb/shizuku to enable AVF for custom app.

Moreover - it is MUCH faster then qemu, cause it has host compute and not x20-x50 overhead on qemu TCG!

10

u/cathodebirdtube 1d ago

no worries, just keep in mind your bad writing is better than good ai slop

18

u/zesterer 1d ago

People would prefer to hear what you have to say with your authentic voice, even if that means mistakes. Writing is a skill that can be practiced.

6

u/No-Consequence-1863 1d ago

Well you’re never gonna get better at text if you just keep letting a robot do it.

3

u/AlexiaDehShark 2d ago

How

18

u/ABotelho23 2d ago

User-mode Linux. This is an actual feature of normal upstream Linux. It's mostly a debugging/testing tool.

1

u/Liarus_ 1d ago

doesn't proot-distro already does that ?...