Re: per-process shared information
From: Andrea Arcangeli
Date: Fri Oct 15 2004 - 12:08:54 EST
On Fri, Oct 15, 2004 at 10:40:58AM -0400, Albert Cahalan wrote:
> Why not get rid of rss too then? It's overhead.
"rss" is O(1), old "shared" is O(N). With N being a few terabytes of
data divided by PAGE_SIZE...
on any desktop machine you couldn't notice the difference, it only
matters on the high end.
But I believe Hugh's proposal will make everyone happy. Anything that we
stuff in statm must have O(1) complexity (or at least O(log(N)),
otherwise ps v will nearly stop running in the big boxes.
-
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/