Re: doubt regarding VMA

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

 



> The only scenario I can think, when two or more processes share VMA of
> text region (pay attention, you are asking about VMA, not the page or
> page frame) are in multi threading. Since they execute same code (in
> most cases, new thread are created with clone() using CLONE_VM), it
> makes sense to share the text region for efficiency.

Do you mean the  page tables are shared ? This means they have the
same page global directory. How is this accomplished ?

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