active_mm versus mm

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

 



Hi,

I fail to understand the difference between task->mm and task->active_mm.
I've noticed that upon forking a task, both mm and active_mm get the same
memory descriptor.
when will the active mm be different the the task's mm ? even kernel threads,
who obviously don't have any user address space, use the previous
mm/active_mm as a way to reach kernel memory areas. so why have two
different pointers ?

thanks a lot,
Roy.

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