The Linux kernel is just a program

106 points by wofo


Goobly

Amazing read! Would love to get another article on how the write(1... Call turns into a text on the screen. Basically "how does kernel talk to the device and I see the result"

kana

From the title I thought it was going to talk about user-mode Linux, where the kernel is run directly as a user-space program. (Maybe this series will get to it later?) But it turns out way more interesting than I expected!

jtolio

Sorry, I know that this is obnoxiously tangential to the actual point of the article, but is it a good idea to run a Go program as PID 1? I think it's not. PID 1 is special, and has special signal handling and special responsibilities, that I imagine are made more challenging by the expectations of the Go runtime. Understood that this blog post is trying to demystify the kernel more than anything else, but I think it's either worth a comment about the unusual responsibilities of PID 1, or switching to a more fit-for-purpose language for a small PID 1 example program?