4 ms·
As I understand it, OpenBSD is similar to Linux 2.2 architecturally in that there is a lock that prevents (most) kernel code from running on more than one (logi
by chasil 1y ago
As I understand it, OpenBSD is similar to Linux 2.2 architecturally in that there is a lock that prevents (most) kernel code from running on more than one (logical) CPU at once.
We do hear that some kernel system calls have moved out from behind the lock over time, but anything requiring core kernel functionality must wait until the kernel is released from all other CPUs.
The kernel may be faster in this exercise, but is potentially a constrained resource on a highly loaded system.
This approach is more secure, however.
- cenamus 1y agoYeah they're making progress in unlocking most syscalls at the moment, but as far as I understand they're still some ways behind FreeBSD
- Gud 1y agoFreeBSD removed their “lock” decades ago.
- chasil 1y agoI believe BSDi, the entity in the AT&T lawsuit in the 90s, did the work.
- chasil 1y ago"The SMPng Project relied heavily on the support of BSDi, who provided reference source code from the fine-grained SMP implementation found in BSD/OS. https://man.freebsd.org/cgi/man.cgi?smp https://man.freebsd.org/cgi/man.cgi?smp
- loeg 1y agoI believe this was FreeBSD 5 (2003), yes.