highmem and cache handling

Vladimir Murzin murzin.v at gmail.com
Wed Mar 28 08:30:31 EDT 2012


Hello everyone!

I can see across the Linux kernel source code that some
kmap*()/kunmap*() pairs are coupled with flush_dcache_page().
Sometimes it is done outside kmap*()/kunmap() pairs, sometimes inside...
I'm curious is there any rule how it should be done correctly or it
should be handled case by case?

Best wishes,
Vladimir Murzin



More information about the Kernelnewbies mailing list