There is no concept of locked files in extfs, much less inside the kernel. Resource locks and unkillable processes is some windows bullshit that no sane operating system would touch with a ten foot pole.
You need resource locks to prevent race conditions. Linux, in fact, has resource locks. They aren’t necessarily kernel resource locks though. For instance, apt is very careful not to screw things up
What the duck Microsoft bullshit is this?
There is no concept of locked files in extfs, much less inside the kernel. Resource locks and unkillable processes is some windows bullshit that no sane operating system would touch with a ten foot pole.
You need resource locks to prevent race conditions. Linux, in fact, has resource locks. They aren’t necessarily kernel resource locks though. For instance, apt is very careful not to screw things up
Locks are only held during system calls. Process termination is handled on the system call boundary.
You’re projecting windows kernel insanity where it doesn’t belong.