On Wed, 27 Apr 2005, A.M. Fradley wrote: > I found out where do_page_fault was (in fault.c), but there's a version > of that file for every arch folder. I didn't want to include it in > those because I think that would be kind of messy. What if I put a > maj_flt variable in memory.c Take a look at handle_pte_fault and the 3 functions it calls, make sure to grep for 'MAJ' ;) -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/