RE: [PATCH] x86/mce/therm_throt: Fix the access of uninitialized therm_work

From: Boris Petkov
Date: Mon Jan 06 2020 - 05:01:30 EST


On January 6, 2020 10:22:06 AM GMT+01:00, "Liu, Chuansheng" <chuansheng.liu@xxxxxxxxx> wrote:
>I traced there is about 2s gap between unmask interrupt and workqueue
>Initialization.

And that is a problem because?

You setup workqueue etc and *then* unmask the irq.

--
Sent from a small device: formatting sux and brevity is inevitable.