Thread (20 messages) 20 messages, 7 authors, 2016-06-12

Re: [PATCH] fbcon: warn on invalid cursor blink intervals

flat view

From: Ming Lei <hidden>
Date: 2016-05-20 02:48:19
Also in: dri-devel, lkml, stable

On Fri, May 20, 2016 at 10:26 AM, Jeremy Kerr [off-list ref] wrote:
Hi Ming,
quoted
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 [off-list ref]

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help