2017-10-03 20:15:45

by Bart Van Assche

[permalink] [raw]
Subject: Re: [RFC 5/5] pm: remove kernel thread freezing

On Tue, 2017-10-03 at 11:53 -0700, Luis R. Rodriguez wrote:
> Now that all filesystems which used to rely on kthread
> freezing have been converted to filesystem freeze/thawing
> we can remove the kernel kthread freezer.

Many subsystems use system_freezable_wq and/or
system_freezable_power_efficient_wq to queue work that should not run while
processes are frozen. Should it be mentioned in the patch description that
this patch does not affect workqueues for which WQ_FREEZABLE has been set?

What about the many drivers outside filesystems that use the set_freezable() /
try_to_freeze() / wait_event_freezable() API?

Thanks,

Bart.?&ן4ۯ9??|??x????S?㜷M???v??~?M4?M{_???1? ????6?~??]4?^8ە?f????m?l??ۣ?jנ??????