分类: LINUX 内核 2009-09-23 16:21 4561人阅读 评论(0) 收藏 举报 cachebufferos存储算法 Cache 的write back和write through 收藏 为了保证cache和memory的数据一致性,通常有三种方法: 1〉write through:CPU向cache写入数据时,同时向memory也写一份,使cache和memory的数据保持一致.优点是简单,缺点是每次都要访问memory,速度比较慢. 2〉post write:CPU更新ca…