Re: 2.6.28, rlimits, performance and debian etch

From: Peter Palfrader
Date: Fri Jan 23 2009 - 18:11:45 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/