Synchronous method in asynchronous signal callback
Lennart Poettering
mzqohf at 0pointer.de
Wed May 27 07:33:40 PDT 2015
On Wed, 27.05.15 10:12, Havoc Pennington (hp at pobox.com) wrote:
> On Tue, May 26, 2015 at 3:49 PM, Lennart Poettering <mzqohf at 0pointer.de> wrote:
> > BTW, we'd probably have used glib in systemd if it wasn't for the fact
> > that it's not OOM-safe, which makes it a non-option for us...
> >
>
> This is one of the main reasons dbus-daemon didn't use it, too, though
> there were also "political" reasons (keeping the codebase disentangled
> from gnome).
>
> I became convinced in the process, though, that any
> non-system-critical or remotely complex app that thinks it should or
> could handle OOM is deeply misguided.
> http://blog.ometer.com/2008/02/04/out-of-memory-handling-d-bus-experience/
I agree.
> GLib's "do not handle OOM" policy is correct for the 99% case. Many
> who believe they should be handling OOM are probably wrong. And of
> those who should be, many are probably making a token effort that's
> broken in practice.
I agree, too.
Lennart
--
Lennart Poettering, Red Hat
More information about the dbus
mailing list