cache coherence problem

Juergen Kienhoefer juergen at kienhoefer.com
Tue Nov 18 12:16:24 EST 2003


Guys,
Look at the folloging test program. It mmaps memory, puts some
instructions in it and executes it.
Sometimes it works, sometimes it crashes with illegal instruction.
This smells like cache problems.
Should the kernel clean the instruction cache for these addresses
in mmap system call?
Thanks for any thoughts!
Juergen


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mmapexec.c
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20031117/aef1031a/attachment.asc>


More information about the Linuxppc-dev mailing list