> -----Original Message-----
> From: Wang, Yipeng1
> Sent: Friday, July 6, 2018 8:47 PM
> To: De Lara Guarch, Pablo <[email protected]>
> Cc: [email protected]; Wang, Yipeng1 <[email protected]>; Richardson,
> Bruce <[email protected]>; [email protected];
> [email protected]; [email protected]
> Subject: [PATCH v3 2/8] hash: fix a multi-writer bug

Just a minor comment on the title. It should be a summary of the commit
(try to summarize the bug, instead of using the word "bug").
Keep my ack for the next version (like in other patches).

> 
> Current multi-writer implementation uses Intel TSX to protect the cuckoo path
> moving but not the cuckoo path searching. After searching, we need to verify
> again if the same empty slot still exists at the beginning of the TSX region.
> Otherwise another writer could occupy the empty slot before the TSX region.
> Current code does not verify.
> 
> Fixes: be856325cba3 ("hash: add scalable multi-writer insertion with Intel 
> TSX")
> Cc: [email protected]
> 
> Signed-off-by: Yipeng Wang <[email protected]>

Acked-by: Pablo de Lara <[email protected]>

Reply via email to