Linked by Thom Holwerda on Mon 23rd Apr 2012 16:29 UTC
Thread beginning with comment 515416
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
I'm quite sure that the memory manager of OSX wasn't derived from BSD, but from Mach. Actually, FreeBSD has adapted that memory manager, so it's rather the other way around. But Apple might learn from the way FreeBSD does things. If it is feasible, as the kernel is quite different.
I'm quite sure that the memory manager of OSX wasn't derived from BSD, but from Mach. Actually, FreeBSD has adapted that memory manager, so it's rather the other way around.
That was ages ago... FreeBSD inherited its Virtual Memory Management system from the original Berkeley codebase, which itself was modeled after the Mach VMM - but that was back in the 80s.
Afaik the two codebases haven't seen each other for nearly 30 years. At this point I would say they are probably still architecturally similar but completely different when it comes to the nuts and bolts of how they are implemented. Mach has stagnated for the last 20 years or so - BSD has not.
Has anyone checked out the BSD bug reports. The BSD guys are pretty good, so if this was broken when Apple forked Darwin from it, I am sure the BSD guys have fixed it by now. If Apple broke it after they got it, this proves that they shouldn't be mucking about with the internals, but instead, just grab a fresh copy of BSD and lay their UI on top of it again.
Darwin is basically OSX minus the GUI (kernel + userland). Darwin is not a fork of BSD - the parts of Darwin using BSD derived code were ported from FreeBSD.
The XNU kernel is not and never was based on the BSD kernel - it is a heavily modified Mach 3 kernel as was used in NextStep. There were some things done to the kernel to make it mesh better with a BSD userland, but it is still Mach under the hood.
In short there is quite a lot of BSD derived code in OSX, but very very little of it has anything to do with memory management - that is all done by Mach.




Member since:
2006-04-10
Has anyone checked out the BSD bug reports. The BSD guys are pretty good, so if this was broken when Apple forked Darwin from it, I am sure the BSD guys have fixed it by now. If Apple broke it after they got it, this proves that they shouldn't be mucking about with the internals, but instead, just grab a fresh copy of BSD and lay their UI on top of it again.