summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2011-11-28 16:59:10 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2012-04-17 16:29:37 +0200
commite323969ccda2d69f02e047c08b03faa09215c72a (patch)
tree27ed693ec5bb114773f267722bdd0db371a4f5a2 /Documentation
parentARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on ASID-capable CPUs (diff)
downloadlinux-e323969ccda2d69f02e047c08b03faa09215c72a.tar.xz
linux-e323969ccda2d69f02e047c08b03faa09215c72a.zip
ARM: Remove current_mm per-cpu variable
The current_mm variable was used to store the new mm between the switch_mm() and switch_to() calls where an IPI to reset the context could have set the wrong mm. Since the interrupts are disabled during context switch, there is no need for this variable, current->active_mm already points to the current mm when interrupts are re-enabled. Reviewed-by: Will Deacon <will.deacon@arm.com> Tested-by: Will Deacon <will.deacon@arm.com> Reviewed-by: Frank Rowand <frank.rowand@am.sony.com> Tested-by: Marc Zyngier <Marc.Zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions