summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-02-13 16:21:37 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-02-15 05:58:53 (GMT)
commitfb09692e71f13af7298eb603a1975850b1c7a8d8 (patch)
tree8a28455c583d2eff4b1c6afd55b46e23204d6749 /tools
parenta2dcbb32f0647a3b8230c146a2f980654a7738af (diff)
downloadlinux-fsl-qoriq-fb09692e71f13af7298eb603a1975850b1c7a8d8.tar.xz
powerpc: Add reclaim and recheckpoint functions for context switching transactional memory processes
When we switch out a task, we need to save both the checkpointed and the speculated state into the thread struct. Similarly when we are switching in a task we need to load both the checkpointed and speculated state. If the task was using FP, we non-lazily reload both the original and the speculative FP register states. This is because the kernel doesn't see if/when a TM rollback occurs, so if we take an FP unavoidable later, we are unable to determine which set of FP regs need to be restored. This simply adds these functions. It doesn't hook them into the existing code yet. Signed-off-by: Matt Evans <matt@ozlabs.org> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions