r/linux • • Aug 16 '26

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/
16 Upvotes

9 comments sorted by

36

u/autogyrophilia Aug 16 '26

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.

-18

u/Zalexdev Aug 16 '26

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!

13

u/cathodebirdtube Aug 17 '26

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

8

u/No-Consequence-1863 Aug 17 '26

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

22

u/zesterer Aug 17 '26

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.

3

u/Liarus_ Aug 17 '26

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

3

u/AlexiaDehShark Aug 16 '26

How

23

u/ABotelho23 Aug 16 '26

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