Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2015 09:24:06 -0700
From:      Jordan Hubbard <jkh@mail.turbofuzz.com>
To:        Guy Helmer <guy.helmer@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, "O'Connor, Daniel" <darius@dons.net.au>
Subject:   Re: file system change notifications
Message-ID:  <85EE0305-5D79-4C66-A6F4-05219655DAD5@mail.turbofuzz.com>
In-Reply-To: <5786089D-414D-485C-B675-35B5A62C5950@gmail.com>
References:  <C4BD68D4-0570-4731-AFA2-CDD4DD5490E5@westryn.net> <237A50A5-FAB7-4FC1-B8F1-0E40DCBF6137@dons.net.au> <5786089D-414D-485C-B675-35B5A62C5950@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Mar 12, 2015, at 6:37 AM, Guy Helmer <guy.helmer@gmail.com> wrote:
>=20
> How are Darwin (OS X) fsevents implemented? It=E2=80=99s a been a =
handy interface for some of my work.

They have their own tap from the kernel and their own daemon (fseventsd) =
to handle coalescing and a publish/subscribe model that will feed =
multiple consumers without duplicating or losing events (I haven=E2=80=99t=
 looked deeply into the implementation, but presumably all the cache =
management is there as well so that memory consumption can be kept =
manageable.

Maybe someone should keep a list of =E2=80=9COS X features we would =
really like in FreeBSD=E2=80=9D (add purgeable memory and memory =
pressure bands to that list while you=E2=80=99re at it) and parcel them =
out as GSoC projects. :-)

- Jordan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85EE0305-5D79-4C66-A6F4-05219655DAD5>