Thread (8 messages) 8 messages, 3 authors, 2015-09-17

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

From: Aneesh Kumar K.V <hidden>
Date: 2015-09-16 03:24:27

"Aneesh Kumar K.V" [off-list ref] writes:
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.
Without this patch we can end up with using wrong slot number in linux
pte. That can result in us missing an hash pte update or invalidate
which can cause memory corruption or even machine check ?

-aneesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help