Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 18:45:07 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        cpghost <cpghost@cordula.ws>
Cc:        Ian Smith <smithi@nimnet.asn.au>, freebsd-questions@freebsd.org
Subject:   Re: Speeding up exit(2)?
Message-ID:  <alpine.BSF.2.00.0903151844350.41920@wojtek.tensor.gdynia.pl>
In-Reply-To: <20090315164219.GB1044@phenom.cordula.ws>
References:  <20090315120024.E004210656DB@hub.freebsd.org> <20090316023903.T95588@sola.nimnet.asn.au> <20090315164219.GB1044@phenom.cordula.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> But as Dan has pointed out, firefox et al. are probably written in
> such a way that they reawaken all their dynamic data structures
> from swap while cleaning up. There's not much one can do from the
> OS side to prevent this from happening.

indeed. there are no fix for crappy software, usually written in C++.

> Yup, that's obviously more complicated: C++ dtors, atexit() handlers, etc.
> are called at this point. VM itself seems fast enough to clean up the
> vm space of any process without much swap I/O (but I'm not 100% sure yet).
yes it is



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0903151844350.41920>