缓存是否包含 /proc/meminfo 中的映射页面?

缓存是否包含 /proc/meminfo 中的映射页面?

Linux 内核对缓存内存的定义没有提到它包括 Shmem 和 Mapped pages(https://www.kernel.org/doc/Documentation/filesystems/proc.txt),但我发现一些参考资料中说它们包含在内(例如https://stackoverflow.com/questions/1353283/what-does-the-linux-proc-meminfo-mapped-topic-meanhttps://241931348f64b1d1.wordpress.com/2010/09/03/linux-memory-explaned-procmeminfo/)。

这样计算缓存页面是否合法/有意义 Cached_Pages = Cached - Shmem - Mapped

谢谢你!

相关内容