From 5e1d44aef1673b504dde475aa714b1bdb9b875c4 Mon Sep 17 00:00:00 2001 From: "Aneesh Kumar K.V" Date: Mon, 30 Mar 2015 10:39:12 +0530 Subject: [PATCH] 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 Signed-off-by: Michael Ellerman --- Reading git-format-patch failed