Re: [PATCH] zsmalloc: fix migrate_zspage-zs_free race condition

From: Minchan Kim
Date: Wed Jan 20 2016 - 01:58:23 EST

Hello Russ,

On Tue, Jan 19, 2016 at 09:47:12AM -0600, Russell Knize wrote:
> Just wanted to ack this, as we have been seeing the same problem (weird
> race conditions during compaction) and fixed it in the same way a few
> weeks ago (resetting the pin bit before recording the obj).
> Russ

First of all, thanks for your comment.

The patch you tested have a problem although it's really subtle(ie,
it doesn't do store tearing when I disassemble ARM{32|64}) but it
could have a problem potentially for other architecutres or future ARM.
For right fix, I sent v5 -
If you can prove it fixes your problem, please Tested-by to the thread.
It's really valuable to do testing for stable material.