Re: [PATCH v2] tmpfs: fix race between umount and writepage

From: Konstantin Khlebnikov
Date: Tue May 10 2011 - 05:52:46 EST


Hugh Dickins wrote:
On Sun, 8 May 2011, Konstantin Khlebnikov wrote:

Ok, I can test final patch-set on the next week.
Also I can try to add some swapoff test-cases.

That would be helpful if you have the time: thank you.

I Confirm, patch 1/3 really fixes race between writepage and umount, as expected.

In patch 2/3: race-window between unlock_page and iput extremely small.
My test works fine in parallel with thirty random swapon-swapoff,
but it works without this patch too, thus I cannot catch this race.

I apply patch 3/3 too, but have not tested this case.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/