I'm experiencing a delay or hang in powering off my computer after `shutdown -h now' and I've bisected it to this commit in the mainline tree:
Author: Thomas Gleixner <firstname.lastname@example.org>
Date: Wed Mar 13 17:55:48 2019 +0100
sched/core, workqueues: Distangle worker accounting from rq lock
I'm filing this bug report at the request of Sebastian Andrzej Siewior, with whom I've had an exchange on the kernel mailing list about this issue, which points to ACPI induced polling of the thermal zone causing a buildup of workers, resulting in the hang/delay; see the thread beginning at https://email@example.com/ for details. A workaround to avoid the power-off delay is to add 'thermal.tzp=300' to the kernal command line on booting.
it is in Rafael' todo list AFAIK.
@Stephen: Can you please add some system information (the machine model, manufacturer etc.) here?
Created attachment 294827 [details]
(In reply to Stephen Berman from comment #3)
> Created attachment 294827 [details]
> dmidecode output
I've already confirmed in
https://firstname.lastname@example.org/T/#t that the latest
patch fixes the bug, but in case it's useful for the bugtracker, I've attached the output of dmidecode with the requested info. Here's the tl;dr:
Vendor: American Megatrends Inc.
Release Date: 03/14/2019
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z390 M GAMING
Socket Designation: U3E1
Type: Central Processor
Family: Core i7
Manufacturer: Intel(R) Corporation
ID: EA 06 09 00 FF FB EB BF
Signature: Type 0, Family 6, Model 158, Stepping 10
The patch is available at