[PATCH] powerpc/mm: Recompute hash value after a failed update

Paul Mackerras paulus at ozlabs.org
Wed Sep 16 14:56:15 AEST 2015


On Tue, Sep 15, 2015 at 12:30:08PM +0530, Aneesh Kumar K.V wrote:
> If we had secondary hash flag set, we ended up modifying hash value in
> the updatepp code path. Hence with a failed updatepp we will be using
> a wrong hash value for the following hash insert. Fix this by
> recomputing hash before insert.
> 
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>

Reviewed-by: Paul Mackerras <paulus at samba.org>


More information about the Linuxppc-dev mailing list