Re: doubt regarding VMA

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

 



Hello Srinivas...

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

Threads live in the same process address space....as this is exactly 
what clone() with CLONE_VM does. Therefore, threads on the same group 
share same PGD (page global directory). However, with the help of 
segmentation (GDT and LDT, depends on how your pthread's version 
works), some memory areas are accessible from a thread, others are 
not...

Again, CMIIW people...

regards

Mulyadi


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