Re: mmap and stacks

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

 





On Thu, Apr 22, 2010 at 2:11 AM, Andrei Matei <andreimatei1@xxxxxxxxx> wrote:
Thanks for the link! Everything is clear now, the kernel will autogrow a mapping with the MAP_GROWSDOWN as long as the stack pointer is around the location the program has just accessed. So there is no magic specific to regions used as pthread stacks. If I manually set %rsp to my mmaped region and access bytes downward, it will extend just fine.

Yes, it will ..
may we know the reason why you want to do this? 
 
~cnanda
Thanks!

- a_m


[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