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

Nigel Cunningham
2005-06-25T04:46:30Z

Hi.

On Sat, 2005-06-25 at 14:31, Christoph Lameter wrote:
> > Previous code had important property: try_to_freeze was optimized away
> > in !CONFIG_PM case. Please keep that.
>
> Obviously that will not work if we use try_to_freeze for
> non-power-management purposes. The code from kernel/power/process.c may
> have to be merged into some other kernel file. kernel/sched.c?

Do you have a non-power-management purpose in mind?

Regards,

Nigel