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

Re: __builtin_return_address(0) and schedule()



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/