Skip to content
Commit 258ed7d0 authored by Leonardo Bras's avatar Leonardo Bras Committed by Paul Mackerras
Browse files

KVM: PPC: Reduce calls to get current->mm by storing the value locally



Reduces the number of calls to get_current() in order to get the value of
current->mm by doing it once and storing the value, since it is not
supposed to change inside the same process).

Signed-off-by: default avatarLeonardo Bras <leonardo@linux.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
parent 1a9167a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment