From kde-devel Sat Apr 19 14:54:57 2008 From: Sami Liedes Date: Sat, 19 Apr 2008 14:54:57 +0000 To: kde-devel Subject: Re: fsync() madness Message-Id: <20080419145457.GG6012 () nun4 ! kyla ! fi> X-MARC-Message: https://marc.info/?l=kde-devel&m=120861701326299 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1159377544==" --===============1159377544== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hcut4fGOf7Kh6EdG" Content-Disposition: inline --hcut4fGOf7Kh6EdG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Apr 19, 2008 at 05:44:48PM +0300, Sami Liedes wrote: > Another code with I believe high impact that fsync()s with absolutely > no reason, and *by default*, is KConfig. I couldn't figure out with a > brief look if this is still the case in KDE 4, but at least in KDE > 3.5.9 it does. Replying to myself, I think I might be wrong about KConfig, the comments on the sync() method got me confused, might be that it doesn't fsync() after all. Anyway, _something_ does fsync() a lot, I've seen that happen on kwin, kded and kget. Sami --hcut4fGOf7Kh6EdG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFICgfByc0QC7DZBM8RAl+fAKCw37LoNKyd+98PfgGPLFP8Y/tA5ACgttBM DQbntGodS3xjmISse+eI3GI= =Ohm9 -----END PGP SIGNATURE----- --hcut4fGOf7Kh6EdG-- --===============1159377544== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1159377544==--