开发者

flushing datacache on linux

What is the standard way to manipulate the data-cache on linux from a user-mode program?

I'd like to writeback and invalidate the data开发者_高级运维-cache of a memory region that that is shared between my user-mode program and a peripheral device.

Linux has no driver for it, and writing one myself would be overkill for the simple things I want to do...


How do you share the memory region without a driver?

But anyway, look at the msync functions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜