Re: [ANNOUNCE] 3.18.7-rt1

From: Sebastian Andrzej Siewior
Date: Wed Feb 25 2015 - 08:55:17 EST


* Joakim Hernberg | 2015-02-19 10:36:01 [+0100]:

>On Tue, 17 Feb 2015 09:37:44 +0100
>Daniel Wagner <wagi@xxxxxxxxx> wrote:
>
>> I needed the patch below to get it running stable under load on my
>> shiny box.
>
>FWIW, this patch makes 3.18-rt survive thermal events on my laptop.

Okay. I applied a slightly modified version of it. That init() is
invoked before the callback function is assigned.
On module exit there is one piece missing: After the callback is
removed we should flush the swork queue to ensure that one callback
is neither pending nor executing. But this won't work now becuase the
swait API lacks that feature so it has to be postponed.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/