阅读背景:

在最近的Linux内核上测试msync的使用有什么好方法?

来源:互联网 

I am using msync in my application on Linux 2.6 to ensure consistency in the event of a crash. I need to thoroughly test my usage of msync but the implementation seems to be flushing all the relevant pages for me. Is there a way to prevent automatic flushing of mmap'd pages onto the disk to expose erroneous usage of msync on my part?I am using msync in my application on Linux 2.6




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: