Re: Re: Re: Stack among threads

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

 



Hi Arjan...

> what happens is when you use threads, glibc makes additional stacks
> in addition to the original one that the kernel made for the process,
> and the threads start using those. Those stacks aren't marked "stack"
> in /proc/<pid>/maps and friends, because the kernel doesn't really
> know that they are stacks. And that is perfectly fine; a "stack" is
> not something special that the kernel needs to care about. Well not
> after having set one up that is.

Hm, thanks for the additional info, Arjan. I really appreciate it.

BTW, is this "stack" a TLS sement? Is it defined in Program Header 
Table?

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