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