On Mon, 07 Mar 2016 13:07:14 +0530, Nitin Varyani said:

> Where is the stack pointer for the current process stored in linux?

In the stack pointer register, of course. (And if the code was compiled
with -fomit-stack-pointer there isn't even one. :)

The fun and games starts when you talk about the stack for a process that
*isn't* currently active on a CPU....

Attachment: pgpT1IOLRWGJz.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
  • stack pointer Nitin Varyani
    • Re: stack pointer Valdis . Kletnieks

Reply via email to