Re: [RFC] Fix SMP brokenness for PF_FREEZE and make freezing usablefor other purposes

From: Christoph Lameter
Date: Tue Jun 28 2005 - 09:11:00 EST


On Tue, 28 Jun 2005, Kirill Korotaev wrote:

> Christoph I was wrong a bit. Due to use of completion you have no one race I
> described before. If the task is leaving refrigarator with TIF_FREEZE it will
> just visit refrigarator() once more, but won't sleep there since completion
> is done. BTW, I see no place where you initialize the completion.

It is initialized through the DECLARE_COMPLETION in sched.c.

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