Re: init_mm linked list problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-04-05 at 17:46 -0400, Jason J. Herne wrote:
> On Tue, 2005-04-05 at 15:18 -0400, Jason J. Herne wrote:
> > 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.

Sorry to keep replying to my own post, but, I think I found my answer
and I just thought I would share it with everyone. :)

Starting with kernel version 2.6.10:  mmlist is no longer used as a
complete list of a memory descriptors on the system.  Instead,
it is not only used by those memory descriptors that have pages swapped
out.  If you grep the changelog
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.10 for
"[PATCH] lighten mmlist_lock" you will find an explanation.


-- 
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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux