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

Linus Torvalds
2005-06-27T04:24:06Z

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