Re: [Patch] Per kthread freezer flags

From: Nigel Cunningham
Date: Fri Jul 30 2004 - 17:21:56 EST


Hi.

On Fri, 2004-07-30 at 22:11, Peter Osterlund wrote:
> Yes. What about this code in the main loop in kcdrwd?
>
> /* make swsusp happy with our thread */
> if (current->flags & PF_FREEZE)
> refrigerator(PF_FREEZE);
>
> Should it still be there when the task is marked as PF_NOFREEZE?

No, it's not needed if the thread is NOFREEZE.

Regards,

Nigel

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