[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVXFVPRiOShXHNCQsDe_0AoC++wQAfix3OTjyKC4spu1r9LvQ@mail.gmail.com>
Date: Fri, 20 May 2016 10:48:14 +0800
From: Ming Lei <ming.lei@...onical.com>
To: Jeremy Kerr <jk@...abs.org>
Cc: Scot Doyle <lkml14@...tdoyle.com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
David Daney <david.daney@...ium.com>,
Dann Frazier <dann.frazier@...onical.com>,
Peter Hurley <peter@...leysoftware.com>,
Pavel Machek <pavel@....cz>, Jonathan Liu <net147@...il.com>,
Alistair Popple <alistair@...ple.id.au>,
Jean-Philippe Brucker <jean-philippe.brucker@....com>,
"Chintakuntla, Radha" <Radha.Chintakuntla@...iumnetworks.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>, David Airlie <airlied@...ux.ie>,
David Daney <ddaney.cavm@...il.com>,
dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH] fbcon: warn on invalid cursor blink intervals
On Fri, May 20, 2016 at 10:26 AM, Jeremy Kerr <jk@...abs.org> 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@...onical.com>
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
Powered by blists - more mailing lists