From: Carl v. S. <cv...@cs...> - 2006-02-13 06:26:27
|
I have constructed a test which exposed a TLB bug in our port of Linux. It may be useful especially for new kernel ports. The test mmaps two files, tests their contents, then remaps the files with the virtual addresses swapped. eg: File2 now has the virtual address that File1 had after the first mmap. The mmaped areas are checked again for consistent data. I've called it mem03.c, but it may need to be renamed and placed in a suitable location. File is attached. regards, Carl van Schaik |