Re: [RFC] VM: I have a dream...

From: Jamie Lokier
Date: Wed Jan 25 2006 - 10:01:31 EST


Lee Revell wrote:
> On Wed, 2006-01-25 at 10:23 +0100, Bernd Petrovitsch wrote:
> >
> > ACK. X, evolution and Mozilla family (to name standard apps) are the
> > exceptions to this rule.
>
> If you decrease RLIMIT_STACK from the default 8MB to 256KB or 512KB you
> will reduce the footprint of multithreaded apps like evolution by tens
> or hundreds of MB, as glibc sets the thread stack size to RLIMIT_STACK
> by default.

That should make no difference to the real memory usage. Stack pages
which aren't used don't take up RAM, and don't count in RSS.

-- Jamie
-
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/