[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: statm_pgd_range() sucks!



On Friday 30 August 2002 04:51, Andrew Morton wrote:
> William Lee Irwin III wrote:
> > (1) shared, lib, text, & total are now reported as what's mapped
> >         instead of what's resident. This actually fixes two bugs:
> 
> hmm.  Personally, I've never believed, or even bothered to try to
> understand what those columns are measuring.  Does anyone actually
> find them useful for anything?  If so, what are they being used for?
> What info do we really, actually want to know?

I don't know what use 'shared' is, but it's clearly not very accurate
since it's just adding up all pages with count >= 1.  The only remotely
correct thing to do here is check for multiple pte reverse pointers.

-- 
Daniel
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/