Re: [PATCH 10/16] freezer: fix set_freezable[_with_signal]() race

From: Tejun Heo
Date: Mon Aug 29 2011 - 03:38:40 EST


On Sun, Aug 28, 2011 at 08:01:06PM +0200, Oleg Nesterov wrote:
> You know, I was really, really puzzled by this change. Because it
> "obviously can fix nothing", and try_to_freeze() makes no sense
> (ignoring the very unlikely case when TIF_FREEZING was set right
> after we drop freezer_lock).
>
> But I guess this works along with 14/16 which removes TIF_FREEZING.

Ah, yeah, another case of bad sequencing. Sorry about that.

Thanks.

--
tejun
--
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/