3 ms·
Linux's kernel runs on more than one core and is pre-emptible, so that's just not generally true.
by richardwhiuk 8y ago
Linux's kernel runs on more than one core and is pre-emptible, so that's just not generally true.
- zaarn 8y agoIn the context of a single core, this happens. Multiple cores make it harder because on top of an interrupt taking locks, other cores now also take locks and you can no longer rely on various promises that a single core gives you. While the Linux kernel can do this, it's not easy to write from scratch, especially because Linux is in C so the compiler doesn't complain about weird things you do.