我可以在Linux内核源代码树中使用page-types工具在我的操作系统中列出页面缓存状态。如:
引用,UPTODATE,LRU,mappedtodisk
引用,UPTODATE,LRU,活性,私人
在source code中有完整列表:
[KPF_LOCKED] = "L:locked",
[KPF_ERROR] = "E:error",
[KPF_REFERENCED]= "R:referenced",
[KPF_UPTODATE] = "U:uptodate",
[KPF_DIRTY] = "D:dirty",
[KPF_LRU] = "l:lru",
[KPF_ACTIVE] = "A:active",
[KPF_SLAB] = "S:slab",
[KPF_WRITEBACK] = "W:writeback",
[KPF_RECLAIM] = "I:reclaim",
[KPF_BUDDY] = "B:buddy",
.......
但我找不到任何关于它们的含义,内核如何使用它们的信息等。如何找到有关页面缓存类型的更多信息?