Re: [PATCH] rfkill-input doesn't work until 5 minutes after boot

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Garrett <mjg59@...>
Cc: <dmitry.torokhov@...>, <IvDoorn@...>, <hmh@...>, <sitsofe@...>, <linux-kernel@...>
Date: Saturday, October 4, 2008 - 6:39 pm

On Sat, 4 Oct 2008 21:43:43 +0100 Matthew Garrett <mjg59@srcf.ucam.org> wrote:


That'll only work as intended if CONFIG_RFKILL_INPUT=y?  If the module
is loaded 10 minutes after boot, the timestamp is still wrong.  It might
happily happen to work, but will still fail after 2^31 jiffies (or something
like that).

Generally speaking, INITIAL_JIFFIES is a secret internal debugging
detail and its use out in general kernel code is a red flag.

I think this initialisation should be done at runtime somehow.


yup.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v3] rfkill-input doesn't work until 5 minutes aft..., Henrique de Moraes Holschuh..., (Sun Oct 5, 10:16 pm)
Re: [PATCH v3] rfkill-input doesn't work until 5 minutes aft..., Henrique de Moraes Holschuh..., (Sun Oct 5, 9:51 am)
Re: [PATCH] rfkill-input doesn't work until 5 minutes after ..., Andrew Morton, (Sat Oct 4, 6:39 pm)