Re: per-process shared information

Andrea Arcangeli
2004-10-15T17:04:16Z

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.