Re: __builtin_return_address(0) and schedule()

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

 



Is this a stack manipulation function ? I googled up for it but couldnt find much apart from message discussions. Can you give a brief excerpt on this interesting topic or quote an LXR / documentation link please.

Thanks,
Manav

Mulyadi Santosa wrote:
Hi..

Do  you mean if there is a function A that calls an inline function B
that  in turn calls schedule(), the __builtin_return_address(0) in
schedule()  will return the address of function A?

Exactly...

regards

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


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