Re:Global Kernel Locks in APFS
by wmf on Monday October 29, 2018 @08:19PM
(#18332922)
Yeah, apps and frameworks aren't part of the kernel. But APFS is.
[ Parent
| on HN ]
It's loaded into the kernel, but it's a kext (kernel extension) rather than being part of the xnu source tree itself. Only a subset of kexts are open source. (By comparison, HFS used to be in the xnu tree, but it was moved into a kext as well a few years back; that one is open source.)
Kind of talking out of my ass, but Darwin can act as a mirokernel, so APFS could be implemented as a user mode service (no idea if it's the case, though).
Re:Global Kernel Locks in APFS
by yjftsjthsd-h on Monday October 29, 2018 @09:06PM
(#18333177)
Darwin's XNU is not a microkernel, in spite of there being a microkernel version of XNU. While Darwin does support FUSE, performance would almost certainly be inadequate, given the constant transitions between user and kernel space.
I thought it was a mixture of OSFMK and BSD, which is why I said it can act like a microkernel. Don't know more than what wikipedia says, though.