On 05/20/2013 04:37 PM, Rick Macklem wrote:
Andrew Gallatin wrote:
Some corrections:
On 05/20/2013 03:23 PM, Michael Crawford wrote:
The Darwin kernel is a massive fork of the FreeBSD kernel. Darwin has the Mach microkernel statically linked in - not as a microkernel - to enable Although it is a common misconception, the darwin kernel is most certainly not a fork of FreeBSD. It is a direct descendant of the NeXT kernel, which is a shotgun wedding of BSD and Mach (those were popular in the 90s, DEC Tru64 UNIX is another example) and it far pre-dates FreeBSD. The similarities between FreeBSD & MacOSX are mainly due to common BSD heritage, as well as some code ported between the two (kqueue, ipfw). They are more like second or 3rd cousins than siblings.
Well, if you looked at xnu-592 (or somewhere around there, which is the open sourced kernel sources related to OS X 10.3 Panther) you will see a lot of FreeBSD code in it and not just 4.nBSD. Mac OS X diverged dramatically when Apple did 10.4 Tiger, at least in the vfs/vop area that I worked in. I would have called the early 10.n (up to n == 3) closer that 2nd cousin, but I'm just nitting picks.
Yes, up until the KPIs were enforced, things were much more similar. I used to actually maintain a driver for some older HPC stuff where the ethernet driver shared code on MacOSX, FreeBSD and DEC Unix. I had the core C tx / rx routines shared, and the OS-specific wrappers in C++ for OSX. After KPIs, that got a lot harder, but that product died around the same time, so it did not really matter. The network stack from around panther has more FreeBSD CVS references in it than I remembered seeing. But I would not even remotely call it a "fork". They just pulled in fixes & improvements from compatible open source projects. Drew _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Andrew Gallatin