[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <3rwfrd6Vq2z9sxb@ozlabs.org>
Date: Fri, 22 Jul 2016 15:50:41 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
linux-mm@...ck.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, James Dykman <jdykman@...ibm.com>
Subject: Re: [1/1] powerpc/mm: Add memory barrier in __hugepte_alloc()
On Tue, 2016-05-04 at 19:05:47 UTC, Sukadev Bhattiprolu wrote:
> >From f7b73c6b4508fe9b141a43d92be2f9dd7d3c4a58 Mon Sep 17 00:00:00 2001
> From: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
> Date: Thu, 24 Mar 2016 02:07:57 -0400
> Subject: [PATCH 1/1] 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@...ibm.com>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@...ux.vnet.ibm.com>
> Signed-off-by: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
> Tested-by: James Dykman <jdykman@...ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/0eab46be21449f1612791201aa
cheers
Powered by blists - more mailing lists