/proc/meminfo里的可使用内存的计算没有那么简单,并不是简单的free和page cache的加和

free + pagecache 以此为基准

但是需要减去一些内存:首先要减去系统预留的内存reserved memorys,还有一部分是page cache也不能全部回收,需要保留一般的page cache,或者需要减去每一个zone的low memory的值综合;

还有要减掉slab相关的内存,也是减少掉一半。

每个zone的low memory是怎么计算出来的?

 

相关文章:

  • 2022-02-22
  • 2021-05-29
  • 2022-12-23
  • 2021-11-12
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-27
  • 2021-07-17
  • 2021-10-10
  • 2021-11-04
  • 2021-10-15
  • 2021-06-23
  • 2021-06-17
相关资源
相似解决方案