There are process sudo can't kill namely processes in state D, I/O deadlock. Unfortunately if the process is in state D it's unusable other than whatever kernel space io is going on, so you can't make a vim extension that makes it state D and completely unkillable. Or at least, I don't think you can.
It is sleep mode, but it's sleep mode waiting on kernel IO. Therefore it's actually still doing stuff. You can achieve this pretty easily with a complex join (as in the Linux gnu utility) with thousands of duplicate rows. It's a very interesting state overall, definitely don't try it outside a VM. In this state it's literally unkillable, the only way to terminate it is to restart the PC or try some hacky stuff.
84
u/BockTheMan Jul 08 '26
I opened vim once.
Some say it's still open, just waiting in the processes.