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

From: Linus Torvalds
Date: Sun Jun 26 2005 - 23:26:18 EST




On Sun, 26 Jun 2005, Christoph Lameter wrote:
>
> 3. I wish there would be a better way to handle the PF_FREEZE. Its like a
> signal delivery after all. Is there any way to define an in kernel signal?
> Or a way to make a process execute a certain bit of code?

It's called "work", and we have the "TIF_xxx" flags for it. That's how
"need-resched" and "sigpending" are done. There could be a
"TIF_FREEZEPENDING" thing there too..

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