Article 4YB6Z What is saved at x86_64 process switch time?

What is saved at x86_64 process switch time?

by
redacted
from LinuxQuestions.org on (#4YB6Z)
What is saved at process context switch time? Obvious stuff like the contents of the GPRs, page table, instruction pointer; what else?

Specifically, are performance counters (for example) saved/restored during a process switch?

If I want to count L3 cache misses for a certain long running application, will the associated performance counter show only L3 misses for the application, or will it show all L3 misses during the time the application was running? (i.e. including L3 misses for other processes)

Where in the source code is process context saved during a switch?

Is there a good description of Linux context switch that explains the details?latest?d=yIl2AUoC8zA latest?i=bb3zTMkrl3U:3hEt5d5wjSY:F7zBnMy latest?i=bb3zTMkrl3U:3hEt5d5wjSY:V_sGLiP latest?d=qj6IDK7rITs latest?i=bb3zTMkrl3U:3hEt5d5wjSY:gIN9vFwbb3zTMkrl3U
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments