summaryrefslogtreecommitdiff
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-01 21:33:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-03 13:52:23 +0300
commitf2173508b195958c97c4a1da28389dc7544d1bc1 (patch)
tree6458247c331919f9e886100fc655d9d82627ece1 /kernel/stop_machine.c
parent0c2f28f01fce6d5eb34f3e664824d50d563ee720 (diff)
downloadlinux-f2173508b195958c97c4a1da28389dc7544d1bc1.tar.xz
PM: sleep: Avoid using pr_cont() in the tasks freezing code
commit a449dfbfc0894676ad0aa1873383265047529e3a upstream. Using pr_cont() in the tasks freezing code related to system-wide suspend and hibernation is problematic, because the continuation messages printed there are susceptible to interspersing with other unrelated messages which results in output that is hard to understand. Address this issue by modifying try_to_freeze_tasks() to print messages that don't require continuations and adjusting its callers accordingly. Reported-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Cc: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions