News for hackers. Stuff that matters.
Re:NeXTBSD aka FreeBSD X by kitsunesoba on Wednesday August 26, 2015 @05:04PM (#10126013)
I may be misunderstanding, but as far as I know it simply layers Mach kernel services onto the FreeBSD kernel rather than actually using Mach.
Re:NeXTBSD aka FreeBSD X by vezzy-fnord on Wednesday August 26, 2015 @05:26PM (#10126132)
Correct. There's an OSF Mach shim running as a FreeBSD kernel module which is then used to drive XPC and everything above.

That said, I feel rather uneasy about the base FreeBSD going such a verbatim OS X route. I can understand doing it for FreeNAS, PC-BSD and derivatives, but it's quite invasive for upstream. Especially considering this requires running a parallel Mach kernel in the same address space.

Also, using Mach IPC deliberately in 2015 is like shooting yourself in the foot in my mind, but it's probably better than kdbus.

Re:NeXTBSD aka FreeBSD X by erikarn on Wednesday August 26, 2015 @07:52PM (#10126693)
There's no parallel Mach kernel running. It's just Mach IPC shimmed as an FD type.
Re:NeXTBSD aka FreeBSD X by vezzy-fnord on Wednesday August 26, 2015 @08:21PM (#10126792)
It's a kernel module implementation of much of OSF Mach verbatim copied and shimmed from MkLinux, not just IPC. See sys/compat/mach in the NextBSD source tree.
Re:NeXTBSD aka FreeBSD X by erikarn on Wednesday August 26, 2015 @08:38PM (#10126865)
Yeah I looked; it's the IPC from Mach with some shimmed bits to do VM-y things for mapped message passing.

Mach was mostly VM and IPC - so of course it looks like it's a lot of Mach code. But there's no separate mach kernel running - it's just the IPC instances and they only exist as FD bits. It's not a complete kernel and FreeBSD isn't running "on" mach.

Re:NeXTBSD aka FreeBSD X by vezzy-fnord on Wednesday August 26, 2015 @09:01PM (#10126933)
I never made such a claim that FreeBSD is running on Mach. I said it integrated a Mach kernel interface as a module running in kernel space.

They also ported tasks (as processes), threads (kthreads) and some clock/timer stuff, as well. No memory objects because there's no external pager they can be backed from.

Re:NeXTBSD aka FreeBSD X by X-Istence on Wednesday August 26, 2015 @05:53PM (#10126265)
The base FreeBSD isn't going this route, this is something that is being worked on at iXsystems that may or may not eventually find it's way to FreeBSD itself.

That's my understanding from the presentation!