diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2016-03-24 09:07:57 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-21 13:13:28 +0300 |
commit | 0eab46be21449f1612791201aa029facb676bd31 (patch) | |
tree | ec23ccf83fe827e4ec636293fab7ceaece0fadf4 /scripts/gdb/linux/tasks.py | |
parent | 31278b17a0dfed3014786b623fd07ee110b801da (diff) | |
download | linux-0eab46be21449f1612791201aa029facb676bd31.tar.xz |
powerpc/mm: Add memory barrier in __hugepte_alloc()
__hugepte_alloc() uses kmem_cache_zalloc() to allocate a zeroed PTE
and proceeds to use the newly allocated PTE. Add a memory barrier to
make sure that the other CPUs see a properly initialized PTE.
Based on a fix suggested by James Dykman.
Reported-by: James Dykman <jdykman@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tested-by: James Dykman <jdykman@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions