1. A method for self-healing from a fault in an operating system (OS), the method comprising: detecting or predicting a fault in a kernel code of the OS, the kernel code comprising a plurality of kernel code modules; determining that the fault is attributable to a faulty one of the plurality of kernel code modules; isolating the faulty kernel code module from other ones of the plurality of kernel code modules; and repairing the faulty kernel code module without crashing the OS.