[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090123231133.GX2754@anguilla.noreply.org>
Date: Sat, 24 Jan 2009 00:11:33 +0100
From: Peter Palfrader <weasel@...ian.org>
To: David Daney <ddaney@...iumnetworks.com>
Cc: Florian Weimer <fw@...eb.enyo.de>, linux-kernel@...r.kernel.org,
DSA <debian-admin@...ts.debian.org>, team@...urity.debian.org,
libpam-modules@...kages.debian.org
Subject: Re: 2.6.28, rlimits, performance and debian etch
On Fri, 23 Jan 2009, David Daney wrote:
> The real solution is to convert your user space programs to use the new
> syscalls that allow for race-free setting of close-on-exec. Then you no
> longer need to mess around with iterating over these things.
It's python's popen2 implementation that does that for us. At least for
python2.4 and 2.5.
In our particular case moving away from calling external tools and doing
more within the scripts themselves brought a real speedup, but it's
probably not just us :)
--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists