Re: [PATCH] fbcon: warn on invalid cursor blink intervals
From: Ming Lei
Date: Thu May 19 2016 - 22:48:21 EST
On Fri, May 20, 2016 at 10:26 AM, Jeremy Kerr <jk@xxxxxxxxxx> wrote:
> Hi Ming,
>
>> Not sure this one is needed for stable because it justs dumps
>> a warning, and not set a valid period to ops->cur_blink_jiffies.
>>
>> So I guess other fix patch is still required for the soft lockup
>> issue, right?
>
> The main thing is that we don't set cur_blink_jiffies to the < 50ms
> value. As far as I can tell, it means we'll still get the original
> default, set in fbcon_startup():
>
> ops->cur_blink_jiffies = HZ / 5;
>
> And so don't end up spinning on the timer expiry.
Jeremy, your theory is correct, thanks for your clarification! And my test
just shows that this patch does fix the soft lockup too, so
Tested-by: Ming Lei <ming.lei@xxxxxxxxxxxxx>
Then looks there are two fix patches acked & tested:
- the patch in this thread
- another one "[PATCH] tty: vt: Fix soft lockup in fbcon cursor
blink timer."
https://lkml.org/lkml/2016/5/17/455
So which one will be pushed to linus?
Thanks,
Ming
>
> Cheers,
>
>
> Jeremy