Re: memory leak?

Rik van Riel (riel@conectiva.com.br)
Sun, 21 Jul 2002 18:08:40 -0300 (BRT)


On 21 Jul 2002, Måns Rullgård wrote:

> Why can't proc/meminfo report these caches as cached instead of plain
> used? Would that be incorrect somehow?

The kernel exports the usage statistics in /proc/meminfo
and /proc/slabinfo. IMHO it's up to userland to present
this info in a meaningful way, no need to shove that piece
of functionality into the kernel.

regards,

Rik

-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/