commit | b0aa44a3dfae3d8f45bd1264349aa87f87b7774f | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Wed Aug 13 12:31:57 2014 +0530 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 13 18:20:37 2014 +1000 |
tree | 92b61ca0ea8b8cbd4ec4c9934aafa39eab29fd4d | |
parent | 2fabf084b6ad6337675d700b159a6091023544f2 [diff] |
powerpc/thp: Add write barrier after updating the valid bit With hugepages, we store the hpte valid information in the pte page whose address is stored in the second half of the PMD. Use a write barrier to make sure clearing pmd busy bit and updating hpte valid info are ordered properly. CC: <stable@vger.kernel.org> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>