summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2015-03-30 10:39:12 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2015-04-17 11:23:24 +1000
commit5e1d44aef1673b504dde475aa714b1bdb9b875c4 (patch)
tree714b46d9dc7be08812ada52878088dc2e8165b5c /arch/powerpc/perf
parent1cbee462a5afc1cc30389915b3d18bdcb3c47ad6 (diff)
downloadlinux-5e1d44aef1673b504dde475aa714b1bdb9b875c4.tar.gz
linux-5e1d44aef1673b504dde475aa714b1bdb9b875c4.tar.bz2
linux-5e1d44aef1673b504dde475aa714b1bdb9b875c4.zip
KVM: PPC: Use READ_ONCE when dereferencing pte_t pointer
pte can get updated from other CPUs as part of multiple activities like THP split, huge page collapse, unmap. We need to make sure we don't reload the pte value again and again for different checks. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf')
0 files changed, 0 insertions, 0 deletions