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

From: Hannes Reinecke
Date: Wed Oct 04 2017 - 02:07:30 EST


On 10/03/2017 08:53 PM, 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.
>
> Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxx>
> ---
> Documentation/power/freezing-of-tasks.txt | 9 ------
> drivers/xen/manage.c | 6 ----
> include/linux/freezer.h | 4 ---
> kernel/power/hibernate.c | 10 ++-----
> kernel/power/power.h | 20 +------------
> kernel/power/process.c | 47 -------------------------------
> kernel/power/user.c | 9 ------
> tools/power/pm-graph/analyze_suspend.py | 1 -
> 8 files changed, 3 insertions(+), 103 deletions(-)
>
Weelll ... have you checked MD?
It's using kernel threads, which probably should be stopped, too, when
going into suspend. After all, MD might be doing on of it's internal
operations (eg resync) at that time, which will generate quite some I/O.

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@xxxxxxx +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 NÃrnberg
GF: F. ImendÃrffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG NÃrnberg)