What register state is saved on a context switch in Linux?
Posted
by federal
on Stack Overflow
See other posts from Stack Overflow
or by federal
Published on 2010-06-09T14:17:37Z
Indexed on
2010/06/09
14:22 UTC
Read the original article
Hit count: 123
linux-device-driver
Where in Linux would you look to find out what registers are saved on a context switch? I'm wondering, for example, if it is safe to use FP or vector registers in kernel-mode driver code (mostly interested in x86-64 and ARM, but I'm hoping for an architecture-independent answer).
© Stack Overflow or respective owner