cache coherence problem

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

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!

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mmapexec.c
URL: <>

More information about the Linuxppc-dev mailing list