摘要: 普通文件I/O 第一次复制:disk->page cache,从磁盘到页缓存(外存到主存) 第二次复制:page cache->process heap,从页缓存到进程堆空间(即内核态到用户态) 内存映射文件mmap disk->page cache,从磁盘到页缓存(外存到主存) 参考: https 阅读全文
posted @ 2018-10-24 17:22 xiaoxiongfei 阅读(555) 评论(0) 推荐(0)
摘要: What is the major difference between the buffer cache and the page cache? Why were they separate entities in older kernels? Why were they merged later 阅读全文
posted @ 2018-10-24 16:22 xiaoxiongfei 阅读(404) 评论(0) 推荐(1)