How to invalidate cache in kernel driver?

anish singh anish198519851985 at gmail.com
Thu Feb 13 13:36:52 EST 2014


On Feb 13, 2014 10:29 AM, "m silverstri" <michael.j.silverstri at gmail.com>
wrote:
>
> I have an output buffer in my kernel driver. And that share with my
> hardware, which uses it for output.
>
> When I got an interrupt, the kernel driver will copy the data from the
> output buffer to user space buffer.
>
> How can I invalidate cache after my kernel driver copy the output buffer
And why you have to do that? Do you
see any inconsistency in the current
value of that variable?
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140213/e727b05f/attachment.html 


More information about the Kernelnewbies mailing list