Can anyone tell me why the following code would STOP working if I upgraded from kernel version 2.6.8.1 to 2.6.11.6?? I just want to be able to visit all of the mm_struct's that exist on the system. This code worked just fine (at least it seemed to), and then I upgraded my kernel version and now mcount prints to the log file with a value of 0. Before I was getting 60-70 depending on how many processes I had running. int mcount=0; struct mm_struct *m; spin_lock(&mmlist_lock); list_for_each_entry(m, &init_mm.mmlist, mmlist) { mcount++; /* Do stuff */ } spin_unlock(&mmlist_lock); printk("mm_struct count: %d\n", mcount); -- Jason J. Herne <hernejj@xxxxxxxxxxxx> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/