9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Leimbach <leimy2k@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Acme mailreader
Date: Fri, 17 Dec 2004 10:52:51 -0800	[thread overview]
Message-ID: <3e1162e604121710527abe8fd5@mail.gmail.com> (raw)
In-Reply-To: <9ccf822edf0a9a77c141ae47312638dd@collyer.net>

On Thu, 16 Dec 2004 15:22:59 -0800, geoff@collyer.net <geoff@collyer.net> wrote:
> I worked at Apple in the BSD group.
> 
> The XNU non-Mach code was clearly some BSD kernel and I don't really
> care which.  My colleagues told me it started out with NetBSD but that
> that was eventually dwarfed by FreeBSD with contributions from
> elsewhere.  While I was there, there was talk of dragging in code from
> the latest FreeBSD, notably the FFS with soft updates; I'm pretty sure
> that happened.  Given that the group was (and probably still is)
> headed by Jordan Hubbard of FreeBSD fame, I suspect that they're
> continuing to pull in FreeBSD code and it isn't just hype.
> 

Mac OS X still doesn't have softupdates.  I know because I took a
crack at integrating
them from OpenDarwin and was in sync with some other guys looking at
it too.  I also use Mac OS X pretty much every day of the week and
spend most of my time developing on it.

What they do have is VFS level journaling now and HFS+ takes advantage of it.

There are things like kernel queues [terribly broken implementation of
them in Panther.  I can panic a box with them very reliably] from FBSD
but some stuff just can't be easily ported from
FBSD 5 due to the heavy reliance on mach for VM and scheduling.

This is one of the most accurate sources of Mac OS X overviews I've seen:
http://www.kernelthread.com/mac/osx/

> Note too that the XNU BSD code, measured in source lines, is almost
> exactly as huge as the Mach code, so the volume of *BSD code in XNU is
> not, in my opinion, exaggerated: it is (or was in 2002) half the
> kernel source.  (I don't remember which side of the fence IOKit was
> counted against.)

That sounds about right to me :).  I've not played around in xnu in
any serious way for a couple of months or years or so.

> 
> Nevertheless, I stand by my statement that OS X is in no sense a
> micro-kernel, and that user-mode file servers will not (as a result of
> access to a micro-kernel) be easier to implement on OS X than on other
> (l)unixes.

Mac OS X is not a microkernel architecture... but it does "have a
microkernel" :).  I've seen kernel extensions that communicate with
userland via mach_ports for process death notifications and other
weird stuff like that.

People have said that Mac OS X's ftpfs is done in userspace but since it's not
open source there is no way for me to verify that.


  parent reply	other threads:[~2004-12-17 18:52 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-15 15:34 jim
2004-12-15 15:40 ` gdiaz
2004-12-15 15:47   ` jim
2004-12-15 15:50     ` Joseph Stewart
2004-12-15 15:57       ` jim
2004-12-15 16:10       ` Russ Cox
2004-12-15 15:58     ` Charles Forsyth
2004-12-15 16:04       ` jim
2004-12-15 16:24         ` C H Forsyth
2004-12-15 16:31           ` jim
2004-12-15 17:07             ` Russ Cox
2004-12-15 17:30               ` jim
2004-12-15 18:33                 ` Russ Cox
2004-12-15 18:49                   ` jim
2004-12-15 18:36               ` Axel Belinfante
2004-12-15 18:47                 ` jim
2004-12-15 18:51                 ` rog
2004-12-15 18:48             ` Skip Tavakkolian
2004-12-15 16:05       ` rog
2004-12-15 16:07 ` rog
2004-12-15 16:09   ` jim
2004-12-16  0:24     ` geoff
2004-12-16  4:12       ` Ronald G. Minnich
2004-12-16  4:51         ` geoff
2004-12-16  9:25           ` jim
2004-12-16  5:13         ` Skip Tavakkolian
2004-12-16  5:17           ` geoff
2004-12-16  5:20             ` boyd, rounin
2004-12-16  5:34               ` boyd, rounin
2004-12-16  5:29             ` Skip Tavakkolian
2004-12-16 15:54             ` Ronald G. Minnich
2004-12-16 17:52               ` Skip Tavakkolian
2004-12-16 18:13               ` Dave Eckhardt
2004-12-16  5:23           ` Andy Newman
2004-12-16 15:52           ` Ronald G. Minnich
2004-12-16  8:17       ` Martin C.Atkins
2004-12-16  9:35         ` jim
2004-12-16 15:19         ` rog
2004-12-16 15:26           ` jim
2004-12-16  9:30       ` jim
2004-12-16 15:08       ` David Leimbach
2004-12-16 23:22         ` geoff
2004-12-16 23:25           ` boyd, rounin
2004-12-16 23:38           ` Ronald G. Minnich
2004-12-17  1:31             ` Skip Tavakkolian
2004-12-17 15:50               ` Ronald G. Minnich
2004-12-17  4:55           ` [9fans] Acme mailreader - now: User mode filesystems in linux Martin C.Atkins
2004-12-17  9:54             ` Martin C.Atkins
2004-12-17 10:22               ` geoff
2004-12-17 10:45                 ` Martin C.Atkins
2004-12-17 11:42                 ` Andy Newman
2004-12-17 15:57                   ` Ronald G. Minnich
2004-12-17 12:30                 ` Latchesar Ionkov
2004-12-17 15:55                 ` Ronald G. Minnich
2004-12-17 13:41               ` Derek Fawcus
2004-12-17 14:42               ` Karl Magdsick
2004-12-17 14:56                 ` Russ Cox
2004-12-18  0:13               ` Tim Newsham
2004-12-18  0:13                 ` boyd, rounin
2004-12-18  3:49                   ` Ronald G. Minnich
2004-12-23 16:04                     ` boyd, rounin
2004-12-17 15:44             ` Ronald G. Minnich
2004-12-18 12:35               ` Martin C.Atkins
2004-12-17 18:52           ` David Leimbach [this message]
2004-12-17 23:20             ` [9fans] Acme mailreader Jack Johnson
2004-12-18  1:00               ` David Leimbach
2004-12-15 16:09 ` Russ Cox
2004-12-15 16:16   ` jim
2004-12-15 16:22   ` boyd, rounin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e1162e604121710527abe8fd5@mail.gmail.com \
    --to=leimy2k@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).