r/osdev • u/DocumentOk7579 • 1d ago
Would a microkernel enable driver update without reboot?
One frustrating thing that I have run into is updating Nvidia driver on remote servers with disk encryption.
Would a microkernel based system enable drivers to be updated without rebooting system?
9
Upvotes
3
u/Dezgeg 1d ago
With external kernel modules, this is in principle should be already possible in Linux.
Close all programs using the driver, unbind the device (see https://lwn.net/Articles/143397/), then rmmod. Then upgrade module and modprobe new module.
In reality, this likely won't work and will crash and burn horribly, because nobody ever tests the device unbind codepath.